[Pkg-privacy-commits] [tor-monitor] 25/39: Allow to finely specify logging levels
Sascha Steinbiss
sascha-guest at moszumanska.debian.org
Tue Aug 25 18:00:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
sascha-guest pushed a commit to branch master
in repository tor-monitor.
commit bc7edd4ca9685f6c428f89c995a36d9c1f41a6ed
Author: Tails developers <tails at boum.org>
Date: Tue Feb 24 20:27:48 2015 +0100
Allow to finely specify logging levels
---
tormonitor | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tormonitor b/tormonitor
index 82c4bfc..872c62c 100755
--- a/tormonitor
+++ b/tormonitor
@@ -39,7 +39,7 @@ from gi.repository import (GLib,
gettext.install('tormonitor')
if 'DEBUG' in os.environ and os.environ['DEBUG']:
- logging.basicConfig(level=logging.DEBUG)
+ logging.basicConfig(level=int(os.environ['DEBUG']))
else:
logging.getLogger('stem').setLevel(logging.WARNING)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tor-monitor.git
More information about the Pkg-privacy-commits
mailing list