Manually Configuring TTM Logging for Log Files
TTM Log File
By default, TTM creates and saves its log file into the directory <root drive>:ttLogfiles and names it ttmd_yyyy-mm-dd.log, where yyyy is the four digit year, mm is the two-digit month, and dd is the two-digit day. When Guardian collects log files from TT machines, it also collects the ttmd_yyyy-mm-dd.log files. Both the TTM Daemon and TTM Router daemon write to this file.
If you want to use a different log file name or set a different directory in which to save it, you must do so in the environment variables. For procedures on editing environment variables, refer to Environmental Variables.
For a description of the log file output, refer to TTM Log Files.
TTM Logging Parameters
The following table describes the TTM logging parameters.
ttmd.cfg installs with a default LoggingType setting of file.
Sets how TTM produces its log file according to the following values:
ttmd.cfg installs with a default LogFileHistory setting of 10.
Sets the number of days of log files that TTM retains. TTM deletes log files with dates that are older than the setting of LogFileHistory.
TTM checks for expired log files and deletes them whenever it starts up and daily at 00:00:01.
ttmd.cfg installs with a default TracingLevel setting of normal.
Sets the level of detail that TTM logs. TracingLevel can have the following values:
Sets the type of Windows Event Log to which TTM writes. Available values include:
By default, the TTM Daemon behaves as if set to None.
Sets whether TTM logs internal ‘Pulse’ library messages. This parameter has two settings:
This parameter is available in TTM Version 7.0.6 and higher. By default, TTM Version 7.0.6 and higher behave as if PulseLogging=true.
In previous versions of TTM, users may manually enable Pulse logging via the ttmd.cfg file.
Sets whether TTM produces minidump logfiles when a slow consumer is detected. This parameter has two settings:
This parameter is available in TTM Version 7.0.6 and higher. By default, TTM Version 7.0.6 and higher behave as if StartCachingOffloadMinidumps=false.
Configuring Logging Behavior in ttmd.cfg
You configure TTM’s logging behavior in ttmd.cfg using the parameters listed in the previous section called TTM Logging Parameters.
To configure TTM’s logging:
- Using Notepad, open the ttmd.cfg file located in <root drive>:ttconfig.
- On the Edit menu, click Find.
- In the Find what box, type the logging parameter whose value you want to change.
- Click Find Next.
- To close the Find dialog box, click Cancel.
- Drag to select the value of the parameter that
you want to change, and the type the new value.
For a list of parameters and the logging functions they affect, refer to TTM Logging Parameters.
- Save and then close ttmd.cfg.
- Stop and restart TTM.