Results 1 to 2 of 2
  1. #1
    lowlyintern is offline Member
    Join Date
    Jun 2010
    Rep Power

    Default log4j class logger disabling

    Is there any way to disable the logger for a class in a multi-class project from the config file? If so, how?
    Last edited by lowlyintern; 06-17-2010 at 01:04 PM.

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Rep Power


    you can specify the log level for that one class to be fatal, turn up the level just on that one class so it doesn't log anything.

Similar Threads

  1. Replies: 5
    Last Post: 03-17-2011, 02:26 PM
  2. Replies: 0
    Last Post: 05-19-2010, 09:44 PM
  3. Get the Line number in log with Log4j Logger.
    By Anny_1985 in forum Web Frameworks
    Replies: 0
    Last Post: 07-24-2009, 01:18 PM
  4. Log4J.jar in class path
    By eva in forum New To Java
    Replies: 0
    Last Post: 01-02-2008, 06:39 PM
  5. Help with key Logger in java
    By paul in forum Advanced Java
    Replies: 1
    Last Post: 08-07-2007, 05:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts