1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-24 02:14:20 +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) key = self.attributes.get_backend_key(backend)
self.backends[backend] = bc.Backend( self.backends[backend] = bc.Backend(
params, params,
cherrypy.log, cherrypy.log.error,
backend, backend,
attrslist, attrslist,
key, key,