Log messages for keepalived-state-change in syslog
We don't maintain a long standing log file for the helper process, so any log messages that we issue from inside it just vanish after router cleanup. This patch enforces syslog logging for the daemon, revealing any errors and other messages that may be triggered by it. Closes-Bug: #1635629 Change-Id: I8712f5f3a34fc9f403dfba06e7a64bd9eb408c4a
This commit is contained in:
parent
f9b9474e8c
commit
ebc30229c4
@ -138,6 +138,7 @@ def configure(conf):
|
||||
config.init(sys.argv[1:])
|
||||
conf.set_override('log_dir', cfg.CONF.conf_dir)
|
||||
conf.set_override('debug', True)
|
||||
conf.set_override('use_syslog', True)
|
||||
config.setup_logging()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user