fix missing space in systemd logs
The regex ended up removing a space between date and host in systemd log processing, this puts it back. Change-Id: If0516e1187422cc76f2b3eaac82280504f94cec0
This commit is contained in:
parent
bbef755ed8
commit
f7aea1b29c
|
@ -40,7 +40,7 @@ SYSLOG_MATCH = ('^(?P<date>%s)(?P<line> (?P<host>[\w\-]+) '
|
|||
'(?P<service>[^\[\s]+):.*)' %
|
||||
(SYSLOGDATE))
|
||||
SYSTEMD_MATCH = (
|
||||
'^(?P<date>%s) (?P<line>(?P<host>\S+) \S+\[\d+\]\: (?P<status>%s)?.*)' %
|
||||
'^(?P<date>%s)(?P<line> (?P<host>\S+) \S+\[\d+\]\: (?P<status>%s)?.*)' %
|
||||
(SYSLOGDATE, STATUSFMT))
|
||||
CONSOLE_MATCH = '^(?P<date>%s)(?P<line>.*)' % DATEFMT
|
||||
|
||||
|
|
Loading…
Reference in New Issue