1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-27 19:54:31 +01:00

passing the correct logger to the backend

previously, the default logger was passed, this logger was using the
default configuration and log level, not honoring log level in
particular.
As a consequence, it was impossible to get debug logs from the backend.
This is now working as expected.
This commit is contained in:
kakwa 2019-02-12 22:40:42 +01:00
parent 73c02ccff4
commit d690bbdc41

View File

@ -161,7 +161,7 @@ class LdapCherry(object):
key = self.attributes.get_backend_key(backend)
self.backends[backend] = bc.Backend(
params,
cherrypy.log,
cherrypy.log.error,
backend,
attrslist,
key,