summaryrefslogtreecommitdiff
path: root/src/meetingtools/site_logging.py
blob: cdbe3c2b907d49e959a640ee48db2f2cd1c44730 (plain)
1
2
3
4
5
6
7
8
9
10
import logging
import sys

logger = logging.getLogger('')
logger.setLevel(logging.DEBUG)
handler = logging.StreamHandler(sys.stderr)
handler.setLevel(logging.DEBUG)
formatter = logging.Formatter('%(levelname)-8s %(message)s')
handler.setFormatter(formatter)
logger.addHandler(handler)