Configuring tracing

To configure tracing in Kaspersky Endpoint Agent through the command line interface:

  1. On the device, run a command line interpreter (for example, Command Prompt cmd.exe) with the permissions of the local administrator.
  2. Using the cd command, navigate to the folder where the Agent.exe file is located.

    For example, you can type the following command cd "C:\Program Files (x86)\Kaspersky Lab\Endpoint Agent\" and press ENTER.

  3. Enter one of the following commands and press ENTER:
    • agent.exe --trace=enable --folder <path to the folder where you want to create trace files> to enable tracing.

    Tracing will be enabled for all Kaspersky Endpoint Agent processes that are currently running. Trace files will be created in the folder you specified.

    • agent.exe --trace=disable to disable tracing.

    Tracing will be disabled for all Kaspersky Endpoint Agent processes that are currently running.

    • agent.exe --trace=show to view the current tracing status and the path to the folder to save the trace files.

    The values of the trace.enable (true, if tracing is enabled or false, is tracing is disabled) and trace.folder (path to the folder) settings are displayed.

Return codes of the --trace command:

See also

Managing Kaspersky Endpoint Agent activation

Configuring creation of dump files

Viewing information about quarantine settings and quarantined objects

Actions on quarantined objects

Managing Kaspersky Sandbox integration settings

Managing integration settings with KATA Central Node component

Running Kaspersky Endpoint Agent database and module update

Starting, stopping and viewing the current application status

Protecting the application with password

Protecting application services with PPL technology

Managing self-defense settings

Managing event filtering

Managing network isolation

Managing Standard IOC Scan tasks

Page top