TRACES. Tracing

Enable / disable tracing. Trace files are stored on the computer as long as the application is in use, and are deleted permanently when the application is removed. Trace files, except trace files of Authentication Agent, are stored in the folder %ProgramData%\Kaspersky Lab\KES.21.18\Traces. By default, tracing is disabled.

Command syntax

avp.com TRACES on|off [<tracing level>] [<advanced settings>]

Tracing level

 

<tracing level>

Level of detail of traces. Available values:

  • 100 (critical). Only messages about fatal errors.
  • 200 (high). Messages about all errors, including fatal errors.
  • 300 (diagnostic). Messages about all errors, as well as warnings.
  • 400 (important). All error messages, warnings, and additional information.
  • 500 (normal). Messages about all errors and warnings, as well as detailed information about the operation of the application in normal mode (default).
  • 600 (low). All messages.

Advanced settings

 

all

Run a command with the dbg, file and mem parameters.

dbg

Use the OutputDebugString function and save the trace file. The OutputDebugString function sends a character string to the application debugger to display on screen. For details, visit the MSDN website.

file

Save one trace file (no size limit).

rot

Save traces to a limited number of file sets of limited size and overwrite the older files when the maximum size is reached.

mem

Save traces to dump files.

Examples:

avp.com TRACES on 500

avp.com TRACES on 500 dbg

avp.com TRACES off

avp.com TRACES on 500 dbg mem

avp.com TRACES off file

See also:

Application operation tracing

Application performance tracing

Contents and storage of trace files

Dump writing

Protecting dump files and trace files

Page top