summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpython2/pyinotify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python2/pyinotify.py b/python2/pyinotify.py
index 3e5fcd1..f4e3ae4 100755
--- a/python2/pyinotify.py
+++ b/python2/pyinotify.py
@@ -244,7 +244,7 @@ class _CtypesLibcINotifyWrapper(INotifyWrapper):
return self._libc.sysctl(*args)
-class _PyinotifyLogger(logging.Logger):
+class _PyinotifyLogger(logging.getLoggerClass()):
"""
Pyinotify logger used for logging unicode strings.
"""