mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
syslog: Added separator in file logs.
This commit is contained in:
committed by
Xiang Xiao
parent
b3e8535ad6
commit
b73dc0f166
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user