summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/util/polkit_agent.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/util/polkit_agent.py')
-rw-r--r--src/leap/bitmask/util/polkit_agent.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/util/polkit_agent.py b/src/leap/bitmask/util/polkit_agent.py
index e512bffa..f6c7b4ca 100644
--- a/src/leap/bitmask/util/polkit_agent.py
+++ b/src/leap/bitmask/util/polkit_agent.py
@@ -17,14 +17,14 @@
"""
Daemonizes polkit authentication agent.
"""
-import logging
import os
import subprocess
import daemon
# TODO --- logger won't work when daemoninzed. Log to syslog instead?
-logger = logging.getLogger(__name__)
+from leap.bitmask.logs.utils import get_logger
+logger = get_logger()
POLKIT_PATHS = (
'/usr/lib/lxpolkit/lxpolkit',