Merge "Enable keepalived debug logs when debug=True"
This commit is contained in:
commit
e67ed785b7
@ -482,6 +482,8 @@ class KeepalivedManager(object):
|
||||
'-f', config_path,
|
||||
'-p', pid_file,
|
||||
'-r', self.get_vrrp_pid_file_name(pid_file)]
|
||||
if logging.is_debug_enabled(cfg.CONF):
|
||||
cmd.append('-D')
|
||||
return cmd
|
||||
|
||||
return callback
|
||||
|
Loading…
Reference in New Issue
Block a user