• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic