SETTRACECFG

  

DEVELOPER

 

 

Purpose

 

This dynamic tracing method sets the tracing configuration parameters for the session. The following are the valid parameters:

  • TR_PATH - sets the path as retrieved from the PROIV session.

  • TR_MAX_FILE_SIZE - sets the file size for the trace log file in the PROIV session.

  • TR_MAX_FILES_PER_VM - sets the maximum number of trace log files for the session.

Object Type

Session

Syntax

SESSION.SetTracecfg("TR_PATH", "C:\proivtracelog\")

Elements

 

Remarks

 

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.
 

Comment on this topic

Topic ID: 510176