mirror of
https://github.com/NewFuture/DDNS.git
synced 2026-10-21 04:22:22 +00:00
fix(log): default log level (#491)
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ def main():
|
||||
sys.stderr = TextIOWrapper(sys.stderr.buffer, encoding='utf-8')
|
||||
init_config(__description__, __doc__, __version__, build_date)
|
||||
|
||||
log_level = get_config('log.level')
|
||||
log_level = get_config('log.level', INFO)
|
||||
log_format = get_config('log.format')
|
||||
if log_format:
|
||||
# A custom log format is already set; no further action is required.
|
||||
|
||||
Reference in New Issue
Block a user