Mercurial > touhou
changeset 363:cb1460b9b6cf
Enable debug messages when using --debug
| author | Thibaut Girka <thib@sitedethib.com> |
|---|---|
| date | Mon, 09 Jul 2012 22:12:04 +0200 |
| parents | 3be4c1078095 |
| children | b07e2f71f240 |
| files | eosd |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/eosd Mon Jul 09 21:12:10 2012 +0200 +++ b/eosd Mon Jul 09 22:12:04 2012 +0200 @@ -16,6 +16,7 @@ import argparse import os import sys +import logging import pyximport pyximport.install() @@ -78,6 +79,7 @@ continues = 0 if debug: + logging.basicConfig(level=logging.DEBUG) continues = float('inf') if replay:
