summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/platform_init/locks.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/platform_init/locks.py')
-rw-r--r--src/leap/bitmask/platform_init/locks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/platform_init/locks.py b/src/leap/bitmask/platform_init/locks.py
index eff900fa..203d367b 100644
--- a/src/leap/bitmask/platform_init/locks.py
+++ b/src/leap/bitmask/platform_init/locks.py
@@ -17,11 +17,11 @@
"""
Utilities for handling multi-platform file locking mechanisms
"""
-import logging
import errno
import os
import platform
+from leap.bitmask.logs.utils import get_logger
from leap.bitmask.platform_init import IS_WIN, IS_UNIX
from leap.common.events import emit, catalog
@@ -37,7 +37,7 @@ else: # WINDOWS
from leap.bitmask.util import get_modification_ts, update_modification_ts
-logger = logging.getLogger(__name__)
+logger = get_logger()
if IS_UNIX: