If you are managing the Kaspersky Endpoint Security application through Kaspersky Security Center, you can configure trace settings of the application in the Kaspersky Endpoint Security policy settings using the Web Console or the Administration Console.
If you are managing the application on the command line, you can configure trace settings of the application in the general application settings.
Editing trace settings in the Web Console
In the Web Console, you can configure application tracing settings in the policy properties (Application settings → General settings → Application settings, Trace and dump settings section) (see the table below).
Application trace settings
Setting |
Description |
---|---|
Path to the trace file directory |
Input field for the path to the directory where the trace files are stored. Default value: /var/log/kaspersky/kesl. If you specify a different directory, make sure that the account under which Kaspersky Endpoint Security is running has read/write permissions for this directory. Root privileges are required to access the default trace files directory. |
Maximum number of trace files |
Input field for the maximum number of application trace files. Default value: 10. |
Maximum trace file size (MB) |
Input field for the maximum size of an application trace (in megabytes). Default value: 500. |
To apply trace settings, you must restart the application.
Editing trace settings in the Administration Console
In the Administration Console, you can configure application tracing settings in the policy properties (General settings → Application settings).
Under Trace and dump settings, click Configure to open a window in which you can edit the trace settings (see the table below).
Application trace settings
Setting |
Description |
---|---|
Path to the trace file directory |
Input field for the path to the directory where the trace files are stored. Default value: /var/log/kaspersky/kesl. If you specify a different directory, make sure that the account under which Kaspersky Endpoint Security is running has read/write permissions for this directory. Root privileges are required to access the default trace files directory. |
Maximum trace file size (MB) |
Input field for the maximum size of an application trace (in megabytes). Default value: 500. |
Maximum number of trace files |
Input field for the maximum number of application trace files. Default value: 10. |
To apply trace settings, you must restart the application.
Editing trace settings in the command line
In 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/kesl. If you specify a different directory, make sure that the account under which Kaspersky Endpoint Security 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.