Mercurial > code > home > repos > homeauto
view lib/logsetup.py @ 991:c6989dcf1f4f
temp sensor try to work with idle loop (but there are still stutters)
Ignore-this: d3d33548db6ce6c329f8aef2cd83403a
darcs-hash:20150708082102-312f9-ea553ff8ce011065b93ed3dae5dbc8fa057ca0d8
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 08 Jul 2015 01:21:02 -0700 |
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)