Mercurial > code > home > repos > light9
changeset 882:d96c09669b40
vidref change logger
Ignore-this: fdcb65a137e706593c842c64e78e65ec
author | drewp@bigasterisk.com |
---|---|
date | Sat, 08 Jun 2013 06:34:01 +0000 |
parents | 94ca7d024fe1 |
children | 5827f7717c44 |
files | bin/vidref |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/vidref Sat Jun 08 05:06:34 2013 +0000 +++ b/bin/vidref Sat Jun 08 06:34:01 2013 +0000 @@ -1,4 +1,5 @@ #!bin/python +from run_local import log import gobject gobject.threads_init() import gtk @@ -16,8 +17,6 @@ (options, args) = parser.parse_args() -logging.basicConfig() -log = logging.getLogger() log.setLevel(logging.DEBUG) # limit the stdout one, but leave debug messages for the gtk logger log.handlers[0].setLevel(logging.DEBUG if options.verbose else logging.WARN)