The below is also a forum topic (http://www.symfony-project.org/forum/index.php?t=rview&goto=51248&th=12762#msg_51248), but it feels like a bug to me. Just to be sure I created a ticket. If I did something wrong, I apologize for the false ticket.
If I do in Symfony 1.1 beta 3 and 4:
sfContext::getInstance()->getLogger()->log('Log level: '.sfContext::getInstance()->getLogger()->getLogLevel(), 6);
I get in the log:
Log level: 7
But if I pass 7 (debug) instead of 6 (info) to the log() method as display level, nothing is written to the log. Why is that? Of course the result is the same with the info() and debug() methods of sfLogger. Using the latter displays nothing, info() does.
So the loglevel seems to be info, however, getLogLevel() displays 7, which means debug.
What's wrong .... anyone?
error_reporting: <?php echo (E_ALL | E_STRICT)."\n" ?>