Wed 29 Feb 2012 08:46:19 PM UTC, comment #4:
Hi,
I'm just saying that the comparison is inverted to obtain the effect you have yourself documented.
There is something I do not understand in what you've said before :
You say ["log level numbers" increases with criticity], but in fact you call _errorLog with level 3 for successful jobs, and level 1 for failures :
Seen in BasicIPP.php and elsewhere :
In BasicIPP.php, you wrote this :
and this in the error_log function :
In effect, the more log_level is high ("very verbose"), the less messages will be logged. Not what your code-doc explains.
To be very verbose with log_level 3, we have to write things as in my patch, so messages of level 1,2 and 3 will be logged.
With log_level 1 (less verbose), a message with level 2 or 3 will not be logged as the _errorLog function will end on the early return, etc...
So ?...
|