X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/45d91d1b75b9aed9abbbae97ff962ab08f215177..072846de1364a27a4654a52eefeed6932d7a1c2d:/config.py?ds=sidebyside diff --git a/config.py b/config.py index a0b5498..7a9b604 100644 --- a/config.py +++ b/config.py @@ -1,5 +1,13 @@ # vim: set et sts=4 sw=4 encoding=utf-8 : +# First of all, we need to setup the logging framework +import logging +logging.basicConfig( + level = logging.DEBUG, + format = '%(asctime)s %(name)-24s %(levelname)-8s %(message)s', + datefmt = '%a, %d %b %Y %H:%M:%S', +) + from pymin.services import * from pymin.dispatcher import Handler from os.path import join