X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/91cc87ccd8910e4bbeecf2981d6c07b8578b28c0..0f47546178ff84527aeba43e56af035d4879c9c6:/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