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:
parent
73c02ccff4
commit
d690bbdc41
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue