Mercurial > code > home > repos > homeauto
view lib/logsetup.py @ 79:a2df988e2087
3rdparty js libs for usbReset
Ignore-this: 99494693c153c1c630d6c5ba1d4d52ea
author | drewp@bigasterisk.com |
---|---|
date | Wed, 29 May 2013 00:43:33 -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)