mirror of
https://github.com/nikdoof/oblogout.git
synced 2025-12-23 23:39:23 +00:00
Abstracted out the dbus class further, and fixed class logging
This commit is contained in:
@@ -37,7 +37,7 @@ class Usage(Exception):
|
||||
def main(argv = None):
|
||||
|
||||
# Start logger instace used by the OpenboxLogout class
|
||||
logger = logging.getLogger('oblogout')
|
||||
logger = logging.getLogger()
|
||||
logout = logging.StreamHandler(sys.stdout)
|
||||
logout.setFormatter(logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s"))
|
||||
logger.addHandler(logout)
|
||||
|
||||
Reference in New Issue
Block a user