Enabling or disabling dump logging

If you are managing the Kaspersky Endpoint Security application through Kaspersky Security Center, you can enable or disable dumping in the Kaspersky Endpoint Security policy settings using the Web Console or the Administration Console.

If you use the command line to manage the application, you can enable or disable dumping via the kesl.ini configuration file.

The maximum number of dump files is limited.

Depending on the operating system settings, user dump files may not be created. Make sure that the system kernel is configured using sysctl kernel.yama.ptrace_scope=0.

Enabling or disabling dumping in the Web Console

In the Web Console, you can enable or disable logging dump files in the policy properties (Application settingsGeneral settingsApplication settings, Trace and dump settings section).

Dump file settings

Setting

Description

Create a dump file if the application crashes

This checkbox enables or disables creation of a dump file when the application crashes.

This check box is cleared by default.

Path to the dump file directory.

Input field for the path to the directory where the dump files are stored. The input field is limited to 128 characters.

Default value: /var/opt/kaspersky/kesl/common/dumps.

You must restart the application to apply the dump file settings.

Enabling or disabling dumping in the Administration Console

In the Administration Console, you can enable or disable logging dump files in the policy properties (General settingsApplication settings).

Under Trace and dump settings, click Configure to open a window in which you can edit the dumping settings.

Dump file settings

Setting

Description

Create a dump file if the application crashes

This checkbox enables or disables creation of a dump file when the application crashes.

This check box is cleared by default.

Path to the dump file directory.

Input field for the path to the directory where the dump files are stored. The input field is limited to 128 characters.

Default value: /var/opt/kaspersky/kesl/common/dumps.

You must restart the application to apply the dump file settings.

Enabling or disabling dumping on the command line

To enable or disable dumping via the kesl.ini configuration file, do as follows:

  1. Stop Kaspersky Endpoint Security.
  2. Open the /var/opt/kaspersky/kesl/common/kesl.ini file for editing.
  3. Under [General], set the parameter value:
    • CoreDumps=yes: enable dumping in case of a failure.
    • CoreDumps=no: disable dumping.
  4. If you want to change the default directory where dump files are saved, specify the path to the directory in the CoreDumpsPath option.
  5. Start Kaspersky Endpoint Security.
Page top