Mercurial > code > home > repos > homeauto
view lib/logsetup.py @ 28:97d7c0bb9408
barcode maker tool
Ignore-this: e786d32c8192377f0b967089fcfc536
author | drewp@bigasterisk.com |
---|---|
date | Tue, 17 Apr 2012 21:52:11 -0700 |
parents | 26a6cf58743d |
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)