summaryrefslogtreecommitdiff
path: root/portato/gui/views.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/gui/views.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/gui/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/views.py b/portato/gui/views.py
index a2d0468..85a06c8 100644
--- a/portato/gui/views.py
+++ b/portato/gui/views.py
@@ -133,7 +133,7 @@ class LogView (logging.Handler):
for lvl, name, color in self.colors:
self.buf.create_tag("log_%s" % name, foreground = color,weight = pango.WEIGHT_BOLD)
- logging.getLogger("portatoLogger").addHandler(self)
+ logging.getLogger("portatoLogger.stream").addHandler(self)
def emit (self, record):