Using the KAVSHELL TRACE command, you can enable or disable tracing of all subsystems of Kaspersky Security for Windows Server as well as set the level of detail for the log.
Kaspersky Security for Windows Server writes the information to trace files unencrypted.
To start tracing, open the command line and run the command:
KAVSHELL TRACE /ON /F:<path to the folder with trace files>
If tracing is already enabled and you want to change the parameters, run the KAVSHELL TRACE command with the /ON key and set the parameters using the /S and /LVL keys.
Key | Description |
---|
/S:<maximum log file size in MB> | The key sets the maximum size for a trace file. When the file reaches maximum size, Kaspersky Security for Windows Server will create a new trace file. The previous file will be saved. Without this key, the maximum log file size will be 50 MB. |
/LVL:debug|info|warning|error|critical | The key sets the level of detail for the log with available values ranging from maximum detail (All debug information), which writes all events, to minimum detail (Critical events), when only critical events are logged. Without this key, the level of detail will be automatically set to All debug information. |
Always set the level of detail to All debug information unless a technical support engineer requests otherwise.
Find full description of keys and return codes in the Online Help.
To disable tracing, run the command:
KAVSHELL TRACE /OFF