syslog: Added separator in file logs.

This commit is contained in:
Fotis Panagiotopoulos
2021-06-08 13:17:31 +03:00
committed by Xiang Xiao
parent b3e8535ad6
commit b73dc0f166
2 changed files with 36 additions and 0 deletions
+13
View File
@@ -273,6 +273,19 @@ menuconfig SYSLOG_FILE
if SYSLOG_FILE
config SYSLOG_FILE_SEPARATE
bool "Log file separation"
default n
depends on SYSLOG_FILE
---help---
If enabled, every time the file logger is re-attached, a separator
will be printed in the file.
This can be useful to easily distinguish between log entries that
belong to different log sessions (e.g. system reboot), and to
indicate that between the separated lines there may be more logs
that were lost.
config SYSLOG_FILE_ROTATIONS
int "Log file rotations"
default 0