tuikit/core/application.py
changeset 92 b97c4e25ed6d
parent 91 de80e140b0ec
child 97 0c2e0c09ba5c
--- a/tuikit/core/application.py	Wed Mar 26 09:08:10 2014 +0100
+++ b/tuikit/core/application.py	Wed Mar 26 21:26:39 2014 +0100
@@ -16,7 +16,7 @@
     """
 
     def __init__(self, driver='curses'):
-        self.log = logging.getLogger('tuikit')
+        self.log = logging.getLogger(__name__)
         self.driver = None
         self.timer = Timer()
         self.window_manager = WindowManager(timer=self.timer)
@@ -45,7 +45,7 @@
 
     def start(self):
         """Start application. Runs main loop."""
-        self.log.info('=== start ===')
+        self.log.info('=== Start ===')
         with self.driver:
             self.main_loop()
 
@@ -71,5 +71,5 @@
                 self.window_manager.handle_event(event[0], *event[1:])
 
         self._started = False
-        self.log.info('=== quit ===')
+        self.log.info('=== End ===')