aspose file tools*
The moose likes Java in General and the fly likes Log4J Configuration Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Log4J Configuration Problem" Watch "Log4J Configuration Problem" New topic
Author

Log4J Configuration Problem

George Impagliazo
Ranch Hand

Joined: Sep 25, 2010
Posts: 41
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


     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Log4J Configuration Problem
     
    Similar Threads
    Need help with log4j logging tool to log into database
    log4j - no output to .log file
    thread safe logging in a servlet
    Can't able to write errors/exception in file using log4j
    Log4j : specific class to log on FileAppender other classes log on Console Appender.