Configuring tracing

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

  1. On the workstation, run the command line interpreter (for example, Command Prompt cmd.exe) under the local administrator user account.
  2. Use the cd command to change to the directory where the agent.exe file is located.

    For example, you can type 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> if you want to enable tracing.

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

    • agent.exe --trace=disable if you want to disable tracing.

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

    • agent.exe --trace=show if you want to view the current state of tracing and the path to the folder where trace files are being saved.

    Values of the following options are displayed: trace.enable (true if tracing is enabled and false if tracing is disabled) and trace.folder (path to the folder).

Return codes of the --trace command:

See also

Configuring dump creation

Viewing information about Quarantine options and quarantined objects

Actions with quarantined objects

Managing Kaspersky Sandbox integration options

Running Kaspersky Endpoint Agent database update

Running, stopping, and viewing the current state of the application

Password protecting the application

Securing services of the application using the PPL technology

Page top