Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No debug log but has Info log, Spring MVC deployed to WL 12C

Yan Zhou
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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, it is packaged in my application war.



log4j.rootLogger=DEBUG, STDOUT

log4j.appender.STDOUT.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
log4j.appender.STDOUT.threshold=DEBUG // this is my application package, no DEBUG seen in console output
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic