mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
flowd_aggregator. better replace line endings when sending traceback to syslog.
This commit is contained in:
parent
26ab28d522
commit
6cb0f29268
@ -161,7 +161,7 @@ class Main(object):
|
||||
if do_vacuum:
|
||||
syslog.syslog(syslog.LOG_NOTICE, 'vacuum done')
|
||||
except:
|
||||
syslog.syslog(syslog.LOG_ERR, 'flowd aggregate died with message %s' % (traceback.format_exc()))
|
||||
syslog.syslog(syslog.LOG_ERR, 'flowd aggregate died with message %s' % (traceback.format_exc().replace('\n', ' ')))
|
||||
raise
|
||||
|
||||
# rotate if needed
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user