Mercurial > code > home > repos > homeauto
view lib/logsetup.py @ 824:de21ca2f75c7
frontdoor arduino program
Ignore-this: 4daee2dd3a56cc9fbbe7cac3d0aa57aa
darcs-hash:20111204030636-312f9-0da0ff9bd36d494071600e39be13d8d887ea018a.gz
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 03 Dec 2011 19:06:36 -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)