This section describes how to enable logging manually.
For information on how to use Kaspersky Scan Engine GUI to enable logging, see section "Logging settings".
You can separately enable logging for Kaspersky Anti-Virus Engine
Note that logging significantly reduces Kaspersky Scan Engine performance. You are advised to use logging only for debugging purposes.
Enabling logging for Kaspersky Anti-Virus Engine
By default, Kaspersky Scan Engine does not log KAV Engine events.
To enable logging in Kaspersky Anti-Virus Engine:
[LOGGING] WriteLog=9 |
Logging settings for the kavicapd/kavhttpd service and Kaspersky Anti-Virus Engine are synchronized on start and restart of the klScanEngineUI service. Kaspersky Scan Engine sets the logging level (WriteLog
) and log directory (LogsFolder
) in kave.ini to be the same as specified in the DebugLogging
section of icapdkavlog.conf (for ICAP mode) or httpdkavlog.ini (for HTTP mode).
Enabling logging in HTTP mode
By default, logging in HTTP mode is disabled. Kaspersky Scan Engine checks for the httpdkavlog.ini logging configuration file when the kavhttpd service starts. If this file exists, Kaspersky Scan Engine reads parameters from it.
To enable logging for the kavhttpd service:
<LogLevel>
element to 1
.Enabling logging in ICAP mode
By default, logging in ICAP mode is disabled. Kaspersky Scan Engine checks the icapdkavlog.conf logging configuration file when the kavicapd service starts.
To enable logging for the kavicapd service:
debug
or dbg
in the <Level>
element.Enabling logging in Kaspersky Scan Engine GUI
To enable logging in Kaspersky Scan Engine GUI:
You can enable or disable logging in Kaspersky Scan Engine UI without restarting the kavicapd or kavhttpd service.