syslog: allow microsecond on user specific time format
FORMAT_MICROSECOND depends on format is not required. Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
parent
2f8d78ef64
commit
7887d9c6d0
1 changed files with 4 additions and 2 deletions
|
@ -170,8 +170,10 @@ config SYSLOG_TIMESTAMP_FORMAT
|
|||
|
||||
config SYSLOG_TIMESTAMP_FORMAT_MICROSECOND
|
||||
bool "Append microseconds after seconds"
|
||||
default y
|
||||
depends on SYSLOG_TIMESTAMP_FORMAT = "%d/%m/%y %H:%M:%S"
|
||||
default y if SYSLOG_TIMESTAMP_FORMAT = "%d/%m/%y %H:%M:%S"
|
||||
---help---
|
||||
Append microseconds after seconds in syslog timestamp.
|
||||
Suggest SYSLOG_TIMESTAMP_FORMAT end with %S.
|
||||
|
||||
config SYSLOG_TIMESTAMP_BUFFER
|
||||
int "Formatted timestamp buffer size"
|
||||
|
|
Loading…
Reference in a new issue