Merge "Use oslo_log instead of logging"
This commit is contained in:
commit
3bcea8de58
@ -24,7 +24,6 @@ import errno
|
|||||||
import functools
|
import functools
|
||||||
import hashlib
|
import hashlib
|
||||||
import inspect
|
import inspect
|
||||||
import logging as std_logging
|
|
||||||
import os
|
import os
|
||||||
import pyclbr
|
import pyclbr
|
||||||
import random
|
import random
|
||||||
@ -215,7 +214,7 @@ class RootwrapDaemonHelper(RootwrapProcessHelper):
|
|||||||
# rootwrap to honor the same set of flags in kwargs and to ensure
|
# rootwrap to honor the same set of flags in kwargs and to ensure
|
||||||
# that we don't regress any current behavior.
|
# that we don't regress any current behavior.
|
||||||
cmd = [str(c) for c in cmd]
|
cmd = [str(c) for c in cmd]
|
||||||
loglevel = kwargs.pop('loglevel', std_logging.DEBUG)
|
loglevel = kwargs.pop('loglevel', logging.DEBUG)
|
||||||
log_errors = kwargs.pop('log_errors', None)
|
log_errors = kwargs.pop('log_errors', None)
|
||||||
process_input = kwargs.pop('process_input', None)
|
process_input = kwargs.pop('process_input', None)
|
||||||
delay_on_retry = kwargs.pop('delay_on_retry', True)
|
delay_on_retry = kwargs.pop('delay_on_retry', True)
|
||||||
|
Loading…
Reference in New Issue
Block a user