On Sep 24, 2008, at 2:42 PM, Jacob Kjome wrote:

You're saying you see logging on the Console but not in the A1 appender file (${catalina.home}/logs/A1.log)? That doesn't make much sense. It's possible that there is an order, and that you need to place your root logger below the appender definitions. Try that.

Note that the loggers configured to use your A2 appender looks misconfigured...

log4j.logger.br.gov.ba.ssp.sigip.tarefas=DEBUG,A2
log4j.additivity.com.app.tarefas=false

Shouldn't that be?...

log4j.logger.br.gov.ba.ssp.sigip.tarefas=DEBUG,A2

log4j.additivity.br.gov.ba.ssp.sigip.tarefas=false


Jake


You would add the second line if you did not want messages logged on "br.gov...tarefas" also logged to A1.log.

Are you sure that you actually logged anything on "br.gov...tarefas"? That is did A1.log contain some entries what that logger name in them? Having an empty A2.log file would be as expected if you never logged anything to that particular logger.

Your ImmediateFlush lines appear to have extraneous trailing colons.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to