wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Log4j debug messages are not showing on console? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4j debug messages are not showing on console?" Watch "Log4j debug messages are not showing on console?" New topic
Author

Log4j debug messages are not showing on console?

kiran kumar
Greenhorn

Joined: Feb 07, 2005
Posts: 29
Hi my log4j properties file consists of

log4j.rootLogger=DEBUG, stdout

log4j.logger.org.apache=DEBUG


log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%r %-5p %c %m%n

But debug messages are not showing on Console, only error and fatal messages are only showing on Console.

can any body explain why debug messages are not showing on Console
ak pillai
author
Ranch Hand

Joined: Feb 11, 2006
Posts: 288
Check if you have any other Log4J.properties file or Log4J.xml file already in the classpath with a debug level of higher than DEBUG. Are you running in a server environment or stand alone application.


java j2ee job interview questions with answers | Learn the core concepts and the key areas
 
 
subject: Log4j debug messages are not showing on console?
 
Similar Threads
struts2 properties file reload
How to configure log4j in an applet (jar file)
installing Weblogic10.0 version as Windonws Service either on WindowsXP or 2003 Serve
How to disable struts debug/info messages
FileUploadInterceptor not displaying messages on UI