summaryrefslogtreecommitdiff
path: root/portato/helper.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-09-15 15:34:21 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-09-15 15:34:21 +0200
commit2a91802cafc270c0102cfd94a44d6831f65cb97a (patch)
treeb22d1f3d3f37772e42ce262c377cb8341660df07 /portato/helper.py
parentadc195c45f67bb3da1b1e37fe6284a72c74f5c9d (diff)
downloadportato-2a91802cafc270c0102cfd94a44d6831f65cb97a.tar.gz
portato-2a91802cafc270c0102cfd94a44d6831f65cb97a.tar.bz2
portato-2a91802cafc270c0102cfd94a44d6831f65cb97a.zip
Add a log-file
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).
2008-03-18Splitted windows.pyRené 'Necoro' Neumann10-424/+549 2008-03-12Moved get_dependencies to top package classRené 'Necoro' Neumann4-50/+85 2008-03-11improved performance by caching the use_expand queriesRené 'Necoro' Neumann1-5/+14 2008-03-11use catapult varsRené 'Necoro' Neumann2-4/+6 2008-03-11Updated catapult stuffRené 'Necoro' Neumann5-56/+108 2008-03-10Generate correct KeyNotFoundExceptionRené 'Necoro' Neumann1-2/+2 2008-03-09Small changesRené 'Necoro' Neumann3-1/+4 2008-03-07Better session handlingRené 'Necoro' Neumann1-5/+54 2008-03-07Small changesRené 'Necoro' Neumann1-1/+4 2008-03-07Updated shm module to 1.2René 'Necoro' Neumann1-8/+21 2008-03-07Update TODORené 'Necoro' Neumann1-3/+1 2008-03-07hmm ... yesRené 'Necoro' Neumann1-1/+1 2008-03-06Used better exceptions for configuration parserRené 'Necoro' Neumann1-26/+114 2008-03-06Update translationRené 'Necoro' Neumann2-349/+393 2008-03-06Update createpot.shRené 'Necoro' Neumann1-3/+2 2008-03-06Use 'nofork' instead of 'nolistener'René 'Necoro' Neumann1-3/+3 2008-03-05Install glade files into template dir and not data dirRené 'Necoro' Neumann2-2/+1 2008-03-05Added dependency listRené 'Necoro' Neumann3-117/+237