annotate lib/logsetup.py @ 824:de21ca2f75c7
frontdoor arduino program
Ignore-this: 4daee2dd3a56cc9fbbe7cac3d0aa57aa
darcs-hash:20111204030636-312f9-0da0ff9bd36d494071600e39be13d8d887ea018a.gz
author |
drewp <drewp@bigasterisk.com> |
date |
Sat, 03 Dec 2011 19:06:36 -0800 |
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)
|