logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Foetzki, Rainer" <R.Foet...@Verband.Creditreform.de>
Subject Add additional appender at runtime
Date Fri, 17 Dec 2004 15:30:37 GMT
I add an FileAppender at the start of my application.
Later on i like to add some additional appender which descripted in a
properties file.

When i call :

PropertyConfigurator jc =3D new PropertyConfigurator(); jc.doConfigure(
additionalLogger.properties",
LogManager.getLoggerRepository() );

my initial FileAppender is gone?

How can i add this additional appender without lose my first appender?


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