Mercurial > code > home > repos > homeauto
view lib/logsetup.py @ 1:26a6cf58743d
entrancemusic improve logging
Ignore-this: eef92829644417e97f11065e11af0265
author | drewp@bigasterisk.com |
---|---|
date | Sat, 06 Aug 2011 15:49:09 -0700 |
parents | |
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)