posted 9 years ago
Hi there,
I built a simple Spring MVC app. and deployed to Weblogic 12c. In WL Console, I can see debug level Spring framework messages, but cannot see debug level application messages. I can see error level application messages, though.
I have configured WL12C to redirect stdout to log, set all log level to DEBUG, still no debug level application messages.
Why cannot I see debug level application messages? I am using JDK logging in WL, I do not think that matters. Here is my log4j.properties, it is packaged in my application war.
Thanks,
Yan
WEB-INF/classes/log4j.properties
log4j.rootLogger=DEBUG, STDOUT
log4j.appender.STDOUT=org.apache.log4j.ConsoleAppender
log4j.appender.STDOUT.layout=org.apache.log4j.PatternLayout
log4j.appender.STDOUT.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
log4j.appender.STDOUT.threshold=DEBUG
log4j.logger.org.springframework=DEBUG
log4j.logger.com.medplus=DEBUG // this is my application package, no DEBUG seen in console output