view lib/logsetup.py @ 907:38eb2d125738

schematic Ignore-this: 74bbb5c125d695715fd7b732ff4aad37 darcs-hash:20130831212020-312f9-6ea9f815a5bcc7a7b975b5f49aad4ed404ca5f97
author drewp <drewp@bigasterisk.com>
date Sat, 31 Aug 2013 14:20:20 -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)