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

@@ -4,7 +4,7 @@ import os
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")
logger=log.getLogger(__name__)
# Bootstrap the database if clamav is running for the first time