3.23.1. General description


<< Prev   Next >>

logcfg.xml file is used to configure the parameters of technological log and memory dumps generation function in case of unexpected 1C:Enterprise shutdown.

The file is located in the directory with the 1C:Enterprise configuration files. It is optional.

If the file is not found, the default technological log settings are applied:

  • Technological log (<log> element). Disabled.
  • Technological log by default (<defaultlog> element):
    • Generation. Enabled.
    • Life time. 24 hours.
    • The <system> event generation level for all system components is defined as Error.
    • Stored in directories:
      • On Windows: %USERPROFILE%\Local Settings\1C\1cv8\logs (%LOCALAPPDATA%\1C\1cv8\logs on Windows Vista or later).
      • On Linux: ~/.1cv8/logs.
  • Forced abortion dumps (relevant only for Windows OS):
    • Minimum crash dumps are saved (type="1").
    • Dumps are saved to %USERPROFILE%\Local Settings\Application Data\1C\1cv8\dumps (%LOCALAPPDATA%\1C\1cv8\dumps directory for Windows Vista and later).

Example:

<config xmlns="http://v8.1c.ru/v8/tech-log">
<log location="c:\v8\logs" history="1">
<event>
<eq property="name" value="conn"/>
</event>
</log>
<dump location="c:\v8\dumps" create="1" type="2"/>
</config>

This configuration file specifies that:

  • All events of establishing or losing connection to the server are written to the technological log.
  • Technological log files are located in C:\v8\logs directory.
  • Technological log files are stored for 1 hour.
  • Dump files are saved to C:\v8\dumps directory.
  • Dump files contain all available information (the entire process memory).

<< Prev   Next >>

Icon/Social/001 Icon/Social/006 Icon/Social/005 Icon/Social/004 Icon/Social/002