To configure tracing in the Kaspersky Endpoint Agent application using the command line interface:
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.
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:
--trace=disable
if tracing is already disabled).