http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8190

--- Comment #85 from M. de Rooy <[email protected]> ---
(In reply to comment #84)
> Did you add any logging code to an opac script to test it? I just added this
> to my opac-main.pl to test:
> 
> C4::Context->logger->debug("This is a debug message");
> C4::Context->logger->error("This is an error !");

Found what happened:
In opac-search Jonathan creates a logger object in opac-search (that's the one
I was looking for). But C4/Auth also initialized a logger ALREADY. So the
second logger got my message, but the template asked it to the first logger and
got nothing. Still following?

Will send a small followup for this.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to