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:
/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.
LogFileSizeLimit
parameter value, enter the maximum size (in bytes) of one system health log file. For example, LogFileSizeLimit=100000000
.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.
.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: