view lib/logsetup.py @ 115:c860b8c10de9

move watchpins from /room, add a graph Ignore-this: 32e58e567fb1fc0567fd2877319aaeff
author drewp@bigasterisk.com
date Mon, 16 Sep 2013 08:20:18 -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)