[jboss-user] [JBoss Seam] - log.fatal(Object object, Throwable t, Object... params) is l
knuwu
do-not-reply at jboss.com
Thu Mar 15 04:55:25 EDT 2007
Hi
I might missing something, but when I call log.fatal(Object object, Throwable t, Object... params) methode, I can't find a message in the logfile or console.
Setting the log level to DEBUG suddenly brings the message to the log. And yes, it is logged with debug level.
Analysing the seam source code, I found this little piece of code in the Class org.jboss.seam.log.Log4JProvider at line 130, which might be guilty in the first degree. I guess a typical cut-and-paste error:
| public void fatal(Object object, Throwable t)
| {
| logger.log( getFQCN(), Level.DEBUG, object, t);
| }
|
To see fatal messages with stacktraces only when debug level is activated might be ...ähm... a little bit fatal ;-)
Seam version used: 1.2.0Patch1
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028275#4028275
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028275
More information about the jboss-user
mailing list