Configuring logging in HTTP mode

This section explains how to manually configure logging in HTTP mode without using Kaspersky Scan Engine GUI.

See also detailed instructions on enabling logging.

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.

DebugLogging section

SyslogLogging section

The settings below are available only for Linux operating systems.

SyslogDestination section

This element contains a group of settings that specify the format of the logs. If it is necessary to write logs into different locations, you can specify several SyslogDestination elements. In this case, the values of the SyslogTarget subelements must vary.

If SyslogEnabled (see above) has the value of 1, you must include at least one SyslogDestination element.

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

Structure of the logging configuration file

Following is an example of a logging configuration file:

[DebugLogging]

LogLevel=0

LogFolder=logs

[SyslogLogging]

SyslogEnabled=0

[SyslogDestination]

SyslogFormat=raw

SyslogTarget=localhost

SyslogEvents=audit;init;deinit;update;license;engine

[SyslogDestination]

SyslogFormat=cef

SyslogTarget=/var/log/kaspersky/kse_udp_lic_events

SyslogEvents=license;update

Page top