[Koha-bugs] [Bug 8190] Add a logging module to Koha, that can report log message to staff interface (for developer use)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 10 17:41:03 CEST 2013


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

Kyle M Hall <kyle.m.hall at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kyle.m.hall at gmail.com

--- Comment #84 from Kyle M Hall <kyle.m.hall at gmail.com> ---
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 !");

With the default error level only the latter message will display in the
embedded logs comment.

(In reply to comment #83)
> (In reply to comment #81)
> > Created attachment 18819 [details] [review] [review]
> > Bug 8190 - Add a logging module to Koha - Followup - Add html embedded logs
> > to OPAC
> 
> I understand the changes for opac and using the Koha plugin logic.
> But I still cannot see the log message in the opac document. (Just empty for
> opac-search)
> Are you sure that the statement Logger.get_messages works this way?
> I tried logger lc too without results.
> It seems not to work..

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list