Configuring logging in HTTP mode

For instructions on how to enable logging, see section "Manually enabling logging in Kaspersky Scan Engine", subsection "Enabling logging in HTTP mode".

Configuring logging

To configure logging, change the parameters in the httpdkavlog.ini logging configuration file (hereinafter referred to as the logging configuration file) located in the %service_dir%/bin directory. The configuration file consists of several sections.

The [DebugLogging] section

The [SyslogLogging] section

The settings below are available only for Linux operating systems.

Kaspersky Scan Engine can write debug logs and send syslog messages at the same time or separately.

Sending syslog messages is available starting from Kaspersky Scan Engine version 1.0.1.51.

Structure of the logging configuration file

Following is an example of a logging configuration file:

[DebugLogging]

LogLevel=%LEVEL%

LogFolder=%FOLDER%

 

[SyslogLogging]

SyslogEnabled=%ENABLED%

SyslogFormat=%FORMAT%

SyslogDestination=%DESTINATION%

Page top