Health log

Kaspersky IoT Secure Gateway 100 lets you configure the settings of the system health log. System health logs are saved in the directory /logs located on the TGW-HW-LOG partition of the microSD card.

To configure the health log settings:

  1. Use a text editor to open the /logs/.log file located on the TGW-HW-LOG partition of the microSD card.

    The .log file is hidden because the file name begins with a dot. If the file is not displayed in the file manager, enable the display of hidden files.

  2. In the LogFileSizeLimit parameter value, enter the maximum size (in bytes) of one system health log file. For example, LogFileSizeLimit=100000000.
  3. In the DirectorySizeLimit parameter value, enter the maximum size (in bytes) of the directory containing all system health log files. For example, DirectorySizeLimit=1500000000.

    Kaspersky IoT Secure Gateway 100 does not process disk space overflow events. For this reason, make sure that the size of the log storage directory does not exceed the available disk space of the partition.

  4. Save the changes in the .log file.

Sample configuration file:

.log

LogFileSizeLimit=100000000

DirectorySizeLimit=1500000000

If the .log file is absent, the log will not be written.

Log files writing and rotating rules

Log files are written and rotated according to the following rules:

Information written to log files

The following information is recorded to log files:

Page top