Mercurial > code > home > repos > homeauto
view lib/logsetup.py @ 963:2decd45addf4
notes on pins
Ignore-this: 1fced0c832715c5fbd16011563e7120a
darcs-hash:20150120053811-312f9-cbcd7801cd4a454a3ae4a05c5534cfb0a9cbafb8
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Mon, 19 Jan 2015 21:38:11 -0800 |
parents | 85e50a597244 |
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)