Kaspersky Standard | Plus | Premium

How to configure tracing on the command line

You can configure application tracing settings using the TraceLevel, TraceFolder, TraceMaxFileCount, and TraceMaxFileSize settings in general application settings.

The TraceLevel setting lets you enable or disable application tracing and specify the level of detail in trace files. This setting can take the following values:

  • Detailed – Generate a detailed trace file.
  • MediumDetailed – Generate a trace file that contains informational messages and error messages.
  • NotDetailed – Generate a trace file that contains error messages.
  • None (default value) — Do not generate a trace file.

The TraceFolder settings lets you specify the directory where application trace files are stored. Default value: /var/log/kaspersky/kfl. If you specify a different directory, make sure that the user under which the Kaspersky application is running has read/write permissions for this directory. Root privileges are required to access the default trace files directory.

TraceMaxFileCount lets you specify the maximum number of application trace files. The setting can take values from 1 to 10000. Default value: 10.

TraceMaxFileSize lets you specify the maximum size of an application trace file (in megabytes). The setting can take values from 1 to 1000. Default value: 500.

You can edit the setting using command line options or a configuration file that contains all general application settings.

After changing the values of the TraceFolder, TraceMaxFileCount, or TraceMaxFileSize settings, you need to restart the application.