__cdist_log_level=<log level int value>; __cdist_log_level_name=<log level name> (#574)
This commit is contained in:
parent
1ae5b1732e
commit
f0dc21ec0c
20 changed files with 192 additions and 40 deletions
|
|
@ -38,4 +38,8 @@ def _ishidden(path):
|
|||
|
||||
|
||||
def log_level_env_var_val(log):
|
||||
return str(log.getEffectiveLevel())
|
||||
|
||||
|
||||
def log_level_name_env_var_val(log):
|
||||
return logging.getLevelName(log.getEffectiveLevel())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue