Mercurial > code > home > repos > homeauto
view lib/logsetup.py @ 909:c80a23d86ea9
rev2 pin names
Ignore-this: 6bd747872c316e79b851e9cb47d4d1ab
darcs-hash:20130831230948-312f9-2b6d59abc2b1b6193cfd00ef574c6030224852c8
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 31 Aug 2013 16:09:48 -0700 |
parents | 85e50a597244 |
children | 163cfa384372 |
line wrap: on
line source
# todo: graylog, twisted web route to some channel import logging logging.basicConfig(format="%(created)f %(asctime)s %(name)s %(levelname)s %(message)s") logging.getLogger('restkit.client').setLevel(logging.WARN) log = logging.getLogger() log.setLevel(logging.INFO)