LOG_LEVEL docs and changelog entry

This commit is contained in:
Tim Möhlmann
2019-01-08 00:58:01 +02:00
parent b04a9d1c28
commit 7d01bb2a4d
12 changed files with 22 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ import shutil
import logging as log
import sys
log.basicConfig(stream=sys.stderr, level=os.environ["LOG_LEVEL"] if "LOG_LEVEL" in os.environ else "WARN")
log.basicConfig(stream=sys.stderr, level=os.environ["LOG_LEVEL"] if "LOG_LEVEL" in os.environ else "WARNING")
def convert(src, dst):
logger = log.getLogger("convert()")