Add a StreamHandler for logging so that messages get printed on stdout

This commit is contained in:
Kai Huuhko 2014-05-21 23:01:45 +03:00
parent 7b94c310b8
commit b4b849a03d
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ except:
dbus_ml = DBusEcoreMainLoop()
bus = dbus.SystemBus(mainloop=dbus_ml)
log = logging.getLogger()
log.addHandler(logging.StreamHandler())
manager = None