Mercurial > code > home > repos > homeauto
comparison lib/logsetup.py @ 806:85e50a597244
entrancemusic improve logging
Ignore-this: eef92829644417e97f11065e11af0265
darcs-hash:20110806224909-312f9-870930db224a59ffca846fbfd2fe7af52b2e2b89.gz
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 06 Aug 2011 15:49:09 -0700 |
parents | |
children | 163cfa384372 |
comparison
equal
deleted
inserted
replaced
805:9e99114dde57 | 806:85e50a597244 |
---|---|
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) |