![]() SETTRACECFG |
![]() DEVELOPER |
![]() |
|
|
Purpose
|
This dynamic tracing method sets the tracing configuration parameters for the session. The following are the valid parameters:
|
Object Type |
Session |
Syntax |
SESSION.SetTracecfg(Variable,Value) |
Remarks |
N.B. When the last log file is full, the tracing starts deleting older files and reusing them (i.e. the process of creating log files is cyclical). |
Example |
Session.SetTraceCfg("TR_PATH", "C:\proivtrace2\") - Sets the tracing path for the current session Session.SetTraceCfg("TR_MAX_FILE_SIZE", 10) - Sets the maximum allowed tracing file size for current session. Session.SetTraceCfg("TR_MAX_FILES_PER_VM",5) - Sets the maximum allowed trace files for current session. The unit is specified in Megabytes. Session.SetTraceCfg("TR_PATH", "") - sets the trace path to blank. This will stop the tracing for current session. |
Topic ID: 510176