[Pkg-privacy-commits] [onioncircuits] 25/62: Allow to finely specify logging levels
Intrigeri
intrigeri at moszumanska.debian.org
Thu Feb 18 20:20:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to branch master
in repository onioncircuits.
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/onioncircuits.git
More information about the Pkg-privacy-commits
mailing list