summaryrefslogtreecommitdiff
path: root/src/leap/baseapp/mainwindow.py
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-09-05 07:42:10 +0900
committerkali <kali@leap.se>2012-09-05 07:42:10 +0900
commita2804c3de1470db98d8c6aa8a01e2de1aa1718a1 (patch)
tree3743e172e4b7a1e0a2b0650d95950149f66e9ec3 /src/leap/baseapp/mainwindow.py
parent6ef92e257ce1e605194cb26ff6cb804c7d2c3418 (diff)
app wide logging handler
Diffstat (limited to 'src/leap/baseapp/mainwindow.py')
-rw-r--r--src/leap/baseapp/mainwindow.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/leap/baseapp/mainwindow.py b/src/leap/baseapp/mainwindow.py
index ac7fe9c4..e87f5844 100644
--- a/src/leap/baseapp/mainwindow.py
+++ b/src/leap/baseapp/mainwindow.py
@@ -1,9 +1,6 @@
# vim: set fileencoding=utf-8 :
#!/usr/bin/env python
import logging
-logging.basicConfig()
-logger = logging.getLogger(name=__name__)
-logger.setLevel(logging.DEBUG)
from PyQt4 import QtCore
from PyQt4 import QtGui
@@ -13,6 +10,8 @@ from leap.baseapp.log import LogPane
from leap.baseapp.systray import StatusAwareTrayIcon
from leap.baseapp.leap_app import MainWindow
+logger = logging.getLogger(name=__name__)
+
class LeapWindow(QtGui.QMainWindow,
MainWindow, EIPConductorApp,