• 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

Log4J Configuration Problem

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to adjust the log4J file I package in my webappso that I get DEBUG level logging for my webapp and only get ERROR level debugging for everything else, like Spring.

I've been experimenting with the configuration below.

I can't get DEBUG logging for my webapp into my log file or stdout.


  • [*]The name of webapp is "acme"
    [*] It is packaged in "acme.war"
    [*] The root package is com.webabbs.acme


  • I tried putting "acme" and "com.webapps.acme" into the second logger in the file below, but no luck.

    Any ideas what I am not doing?

    Thanks much in advance


    reply
      Bookmark Topic Watch Topic
    • New Topic