0 Replies Latest reply on Aug 19, 2004 3:49 PM by some1ne

    Jboss and Log4j

    some1ne

      Hi, I was wondering if it's possible to configure multiple loggers through log4j...I know I can have multiple appenders so that I can go "log.debug('whatever');" and have the message go to multiple logs in multiple formats, but what I would like to do is have a logger configured that handles debug/trace/info log events (which I already do), and then have another, very specific logger set up that ONLY logs transaction information to a database. I don't want the second logger to recieve any of the debug/trace/info data that's handled by the current logger, and I don't want the current logger to recieve any of the transaction data that the second logge will be writing to the database.

      ...so is it possible to do this with log4j, and if so, how?