view lib/logsetup.py @ 958:f83d494b0f31

start buttons+lcd program Ignore-this: 7bcbbbbbc21984988c87a06e1cb582f1 darcs-hash:20150104073406-312f9-0fdaf43c639503fac5b4100dcf0f8ede1463866b
author drewp <drewp@bigasterisk.com>
date Sat, 03 Jan 2015 23:34:06 -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)