Results 1 to 3 of 3
  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?

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Try putting the class in it's own category disable logging for that category.

  3. #3
    lowlyintern is offline Member
    Join Date
    Jun 2010
    Posts
    13
    Rep Power
    0

    Default

    Thanks, worked beautifully. Sorry if it was a rookie question but I'm just getting into this logging stuff.

Similar Threads

  1. Replies: 5
    Last Post: 03-17-2011, 02:26 PM
  2. log4j class logger disabling
    By lowlyintern in forum New To Java
    Replies: 1
    Last Post: 06-18-2010, 01:49 PM
  3. Replies: 0
    Last Post: 05-19-2010, 09:44 PM
  4. 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
  5. Log4J.jar in class path
    By eva in forum New To Java
    Replies: 0
    Last Post: 01-02-2008, 06:39 PM

Posting Permissions

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