Light Agent for Linux trace files

During operation of Light Agent for Linux on a virtual machine, the following trace files may be created:

wdserver.log, autopatch.log and install.log trace files are created automatically.

You can create the trace files avp-cli.log and LightAgent.log by using the application configuration files that are located in the folder /etc/opt/kaspersky/lightagent/ on the protected virtual machine. A special script is used to create a Network Agent trace file. For detailed information on how to create and configure trace files, please contact our Technical Support experts.

By default, all created Light Agent for Linux trace files are located in the /var/log/kaspersky/lightagent/ directory.

You can also create the LightAgent.log trace file by starting the tracing process from the command line on the protected virtual machine.

To create the LightAgent.log trace file from the command line:

  1. Start the tracing process by running the following command:

    lightagent traces on [<trace level>]

    where <trace level> is the level of detail of debug information. Possible values: 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000. You are advised to clarify the required trace level with a Technical Support specialist. This parameter is optional. If you do not specify the value of the trace level, the application creates trace file with the default level of detail – 500.

  2. Reproduce the situation where the problem occurred.
  3. Stop the tracing process by running the following command:

    lightagent traces off

    By default, the LightAgent.log trace file is created in the /var/log/kaspersky/lightagent/ directory. If you want to save the file to another directory, run the command

    lightagent traces --copyto <path to trace file> [--overwrite]

    where:

    • copyto <path to trace file> saves the trace file in the specified folder. Specify the full path to the folder in which you want to save the trace file.
    • overwrite – if the specified directory already contains the trace file with this name, overwrite this file with the saved trace file.

If the LightAgent.log trace file is located in the default directory (/var/log/kaspersky/lightagent), you can delete it by running the command

lightagent traces --clear

Trace files are stored in readable format on the protected virtual machine with the Light Agent for Linux component. It is recommended to ensure that information stored on the protected virtual machine is protected against unauthorized access before it is sent to Kaspersky.

Trace files are automatically deleted when uninstalling the application. Trace files are not automatically sent to Kaspersky.

Page top