Summary
This article discusses the steps in collecting debug logs using the Case Diagnostic Tool in Silent Mode.
Details
To use the Case Diagnostic Tool in Silent Mode:
- Download the latest CDT in the Trend Micro Download Center.
- Extract the CDT file.
- Open the CaseDiagnosticTool.ini file using a text editor.
- Edit it by using the settings below:
---- cut ----
[Setting]
;Define whether running in silent mode.
SilentMode=1
;Define the default path to store necessary log files when running in silent mode.
SilentFolder=C:\CDT_Data
CDT_DebugLevel=2
;Define whether to turn on/off the debug mode of the product(s) or not
RunDebugMode=1
;ExInterface plug-ins will be selected in silent mode.
[ExInterface]
;DebugLevel can be 0 to 9
DebugLevel=5
ExInterface1=<OSCE_8client>
[Setting]
;Define whether running in silent mode.
SilentMode=1
;Define the default path to store necessary log files when running in silent mode.
SilentFolder=C:\CDT_Data
CDT_DebugLevel=2
;Define whether to turn on/off the debug mode of the product(s) or not
RunDebugMode=1
;ExInterface plug-ins will be selected in silent mode.
[ExInterface]
;DebugLevel can be 0 to 9
DebugLevel=5
ExInterface1=<OSCE_8client>
;For OSCE 10 ExInterface1=OSCE_10client
;For OSCE 8 ExInterface1=OSCE_8client
;For OSCE 8 ExInterface1=OSCE_8client
;Event related to ExInterface plug-ins will be selected in silent mode.
[EventList]
ExInterface1=1,3,4,5,17
---- cut ----
[EventList]
ExInterface1=1,3,4,5,17
---- cut ----
Take note of these:
[Setting]
SilentMode=1
RunDebugMode=1
[ExInterface]
DebugLevel=5
ExInterface1=OSCE_8client
SilentMode=1
RunDebugMode=1
[ExInterface]
DebugLevel=5
ExInterface1=OSCE_8client
;For OSCE 10 ExInterface1=OSCE_10client
;For OSCE 8 ExInterface1=OSCE_8client
[EventList]
ExInterface1=1,3,4,5,17
;For OSCE 8 ExInterface1=OSCE_8client
[EventList]
ExInterface1=1,3,4,5,17
For the "EventExInterfaceX" parameter, execute the CDT in GUI mode first, then select certain events, and use the EventFileList.txt as reference. Save and close the CaseDiagnosticTool.ini file.
- Open a command prompt and then execute the CaseDiagnosticTool application file.
- You can collect the generated CDT_Data file in the directory specified in the configuration file (Default C:\CDT_Data).
CDT version 1116 is used in this sample.