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 avp-cli.log and LightAgent.log trace files using the LightAgent.conf and avp-cli.conf configuration files that are located in the /etc/opt/kaspersky/lightagent/ directory 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:
lightagent traces on [<
where <trace level> is the verbosity level 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.
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
traces --copyto <
path to the trace file
path to the 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
Trace files of Light Agent for Linux are stored in a readable format. It is recommended that you ensure that information is protected against unauthorized access before it is sent to Kaspersky.
Light Agent for Linux trace files are not automatically sent to Kaspersky. Trace files are automatically deleted when uninstalling the application, unless you changed the default trace file storage directory.Page top