Light Agent for Linux trace files
July 22, 2024
ID 134017
During operation of Light Agent for Linux on a virtual machine, the following trace files may be created:
- LightAgent.log trace file. The name of the file contains the file creation date and time. In addition to general data, this file may contain the following information:
- Personal data, including the last name, first name, and middle name, if such data is included in the path to files on a protected virtual machine.
- The name of the account used to log in to the Linux operating system if the user account name is part of a file name.
- Your email address or web address containing the name of your account and password if they are contained in the name of the detected object.
- avp-cli.log trace file. This file records information about command line events. The file contains general data.
- install.log trace file. This file records the results of execution of commands that generate the necessary settings for preparing to start Light Agent for Linux. The file contains general data.
- wdserver.log trace file. This file records information about events that occur during operation of the watchdog service (wdserver). The file contains general data.
- autopatch.log trace file. This file records information about the search for a suitable application module update and about application module update installation. The file contains general data.
- Trace file of the Kaspersky Security Center Network Agent. This file records information about events occurring during operation of the Kaspersky Security Center connectivity module. The file contains general data.
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:
- Start the tracing process by running the following command:
lightagent traces on [<
trace level
>]
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.
- Reproduce the situation where the problem occurred.
- 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 the trace file
> [--overwrite]
where:
copyto <
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
lightagent
traces --clear
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.