annotate lib/logsetup.py @ 831:bbecee3d287d
barcode player send commands to pympd
Ignore-this: 8500b91697c9b77ea1e24009f062d61
darcs-hash:20120418044932-312f9-0a1db0281966e714a05b52c251432c84b3eb4f7b.gz
author |
drewp <drewp@bigasterisk.com> |
date |
Tue, 17 Apr 2012 21:49:32 -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)
|