Subject: | is_info() etc seem to give wrong result |
Date: | Mon, 8 Sep 2008 14:05:47 +0200 |
To: | "bug-Log-Log4perl [...] rt.cpan.org" <bug-Log-Log4perl [...] rt.cpan.org> |
From: | Conway Allen <Allen.Conway [...] atosorigin.com> |
It seems to me that the is_ routines only take into account the - I'm not sure what you call it - the threshold you specify on the log4perl.category statement at the top of the log configuration and they don't take into account the thresholds defined for the appenders that have been defined, i.e. if you say log4perl.category = TRACE, A1 and in A1 you say log4perl.appender.A1.Threshold = ERROR you find that is_trace(), is_debug() and is_info() all return true. I would expect them to return false.
platform: Linux 2.6.26
perl: 5.10.0
Log::Log4perl 1.17
best regards
Show quoted text
________________________________
Ce message et les pi?ces jointes sont confidentiels et r?serv?s ? l'usage exclusif de ses destinataires. Il peut ?galement ?tre prot?g? par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir imm?diatement l'exp?diteur et de le d?truire. L'int?grit? du message ne pouvant ?tre assur?e sur Internet, la responsabilit? du groupe Atos Origin ne pourra ?tre recherch?e quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'exp?diteur ne donne aucune garantie ? cet ?gard et sa responsabilit? ne saurait ?tre recherch?e pour tout dommage r?sultant d'un virus transmis.
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.