view lib/logsetup.py @ 198:06795f84fe29

arduinoNode config. missing import Ignore-this: d2fb9c1c35ff9b30f0b7b0ee67342821
author drewp@bigasterisk.com
date Sun, 04 Oct 2015 04:15:57 -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)