view lib/logsetup.py @ 145:7233fdb6b30a

add a display for the dht sensor data Ignore-this: ef36a1efc0a81c5f783d55bc1f7771f3
author drewp@bigasterisk.com
date Sat, 12 Jul 2014 17:24:45 -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)