annotate 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 |
rev |
line source |
806
|
1 # todo: graylog, twisted web route to some channel
|
|
2
|
|
3 import logging
|
|
4 logging.basicConfig(format="%(created)f %(asctime)s %(name)s %(levelname)s %(message)s")
|
|
5 logging.getLogger('restkit.client').setLevel(logging.WARN)
|
|
6 log = logging.getLogger()
|
|
7 log.setLevel(logging.INFO)
|