[Koha-devel] warnings (was: [Koha-patches] [PATCH] kohabug 2345: bad comparisons pervade reports)

Andrew Moore andrew.moore at liblime.com
Fri Aug 1 14:46:13 CEST 2008


On Thu, Jul 31, 2008 at 11:11 PM, Rick Welykochy <rick at praxis.com.au> wrote:
> More thoughts on error_log: I have had great trouble finding
> "interesting" errors and warnings in the Koha error log due
> to the excessive amount of DEBUG messages from Koha and
> warnings from Perl and the MySQL DBI.
>
> Has consideration been given to a global debug(string) function
> that can be used to control the printing of debug information?
> Or even debug(string,debuglevel) ?

I agree, that's one of our "areas for improvement".

I've had great success using Log4perl before. It lets you configure
how much of any particular type of these warnings and error messages
and debug information you get at any time. Maybe somewhere down the
road I'll see if I can plug it into C4::Debug somehow and try to tame
these messages.

-Andy



More information about the Koha-devel mailing list