On Thu, Jul 31, 2008 at 11:11 PM, Rick Welykochy <[EMAIL PROTECTED]> 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
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-devel

Reply via email to