diff --git a/pykolab/logger.py b/pykolab/logger.py
--- a/pykolab/logger.py
+++ b/pykolab/logger.py
@@ -73,8 +73,8 @@
 
 
     # Required for python3 compat because logger adapter now has a native debug function.
-    def debug(self, msg, level=1, *args, **kw):
-        return self.logger.debug(msg, level, args, kw)
+    def debug(self, msg, *args, **kw):
+        return self.logger.debug(msg, args, kw)
 
 
 class Logger(logging.Logger):
@@ -264,14 +264,13 @@
             self.console_stdout.close()
             self.removeHandler(self.console_stdout)
 
-    # pylint: disable=arguments-differ
-    # pylint: disable=keyword-arg-before-vararg
-    def debug(self, msg, level=1, *args, **kw):
+    def debug(self, msg, *args, **kw):
         self.setLevel(self.loglevel)
         # Work around other applications not using various levels of debugging
         if not self.name.startswith('pykolab') and self.debuglevel != 9:
             return
 
+        level = kw.get('level', 1)
         if level <= self.debuglevel:
             self.log(logging.DEBUG, msg)