X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/91cc87ccd8910e4bbeecf2981d6c07b8578b28c0..55efba31a241826ed31597b14f2b5eb9efe808f1:/config.py 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