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

    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 02:04 PM.

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    6

    Default

    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, 03:26 PM
  2. Replies: 0
    Last Post: 05-19-2010, 10: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, 02:18 PM
  4. Log4J.jar in class path
    By eva in forum New To Java
    Replies: 0
    Last Post: 01-02-2008, 07:39 PM
  5. Help with key Logger in java
    By paul in forum Advanced Java
    Replies: 1
    Last Post: 08-07-2007, 06: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
  •