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,
|
'-f', config_path,
|
||||||
'-p', pid_file,
|
'-p', pid_file,
|
||||||
'-r', self.get_vrrp_pid_file_name(pid_file)]
|
'-r', self.get_vrrp_pid_file_name(pid_file)]
|
||||||
|
if logging.is_debug_enabled(cfg.CONF):
|
||||||
|
cmd.append('-D')
|
||||||
return cmd
|
return cmd
|
||||||
|
|
||||||
return callback
|
return callback
|
||||||
|
Loading…
Reference in New Issue
Block a user