summaryrefslogtreecommitdiff
path: root/portato/helper.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/helper.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/portato/helper.py b/portato/helper.py
index 2363adb..8a312c0 100644
--- a/portato/helper.py
+++ b/portato/helper.py
@@ -17,17 +17,17 @@ from __future__ import absolute_import
import os, signal, logging, grp
-debug = logging.getLogger("portatoLogger").debug
-info = logging.getLogger("portatoLogger").info
-warning = logging.getLogger("portatoLogger").warning
-error = logging.getLogger("portatoLogger").error
-critical = logging.getLogger("portatoLogger").critical
+debug = logging.getLogger("portatoLogger.stream").debug
+info = logging.getLogger("portatoLogger.stream").info
+warning = logging.getLogger("portatoLogger.stream").warning
+error = logging.getLogger("portatoLogger.stream").error
+critical = logging.getLogger("portatoLogger.stream").critical
def N_ (s):
return s
def set_log_level (lvl):
- logging.getLogger("portatoLogger").setLevel(lvl)
+ logging.getLogger("portatoLogger.stream").setLevel(lvl)
def send_signal_to_group (sig):
"""Sends a signal to all processes of our process group (w/o ourselves).
1-11 17:02:28 +0000'>2008-01-11 r598@Devoty: necoro | 2008-01-10 16:36:29 +0100Necoro4-10/+50 2008-01-11 r597@Devoty: necoro | 2008-01-10 14:12:35 +0100Necoro1-3/+3 2008-01-10 r595@Devoty: necoro | 2008-01-10 04:04:15 +0100Necoro1-52/+3 2008-01-09 r586@Devoty: necoro | 2008-01-09 14:54:18 +0100Necoro1-1/+1 2007-12-06 r577@Devoty: necoro | 2007-12-06 20:37:36 +0100Necoro1-1/+1 2007-12-06 r572@Devoty: necoro | 2007-11-28 08:48:15 +0100Necoro1-0/+1 2007-11-27 r570@Devoty: necoro | 2007-11-27 02:08:21 +0100Necoro3-84/+108