Le 05/06/2012 17:01, Dobrica Pavlinusic a écrit :
> $SIG{__WARN__} = sub {
> C4::Logger->new->debug( @_ );
> }
>
> Right now every warn in code makes patch fail QA (I know that first
> hand ;-) and it seems to me it's easier to just put warn instead of
>
> C4::Logger->new->debug( "this used to be warn" );
I have nothing against this option, as it achieve the goal of having a
user-defined logging level.
At the moment, what fails QA is unconditional warns that fill everyone's
log file !
--
Paul POULAIN
http://www.biblibre.com
Expert en Logiciels Libres pour l'info-doc
Tel : (33) 4 91 81 35 08
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/