Browse Source

Merge "[stable only] Configure logging in keepalived_state_change" into stable/queens

changes/65/742365/1
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
a19b0cb09e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      neutron/agent/l3/keepalived_state_change.py

+ 1
- 1
neutron/agent/l3/keepalived_state_change.py View File

@@ -67,6 +67,7 @@ class MonitorDaemon(daemon.Daemon):
# as root
if not run_as_root:
super(MonitorDaemon, self).run()
config.setup_logging()
self.handle_initial_state()
for iterable in self.monitor:
self.parse_and_handle_event(iterable)
@@ -158,7 +159,6 @@ def configure(conf):
conf.set_override('log_dir', cfg.CONF.conf_dir)
conf.set_override('debug', True)
conf.set_override('use_syslog', True)
config.setup_logging()
agent_config.setup_privsep()




Loading…
Cancel
Save