logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preuss, Jacqueline - ENCOWAY" <Preus...@encoway.de>
Subject One appender on different loggers?
Date Thu, 11 Oct 2007 13:45:54 GMT
Hi all!

 

Is it possible to have the same appender (f.ex.
DailyRollingFileAppender) for different loggers. So that appender A can
be assigned to logger 1 and logger 2 at the same time? If yes, how can
we configure it programmatically? Just use a singleton pattern for the
appender?

 

Thanks,

Jacqueline.

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message