Hi All,
I would like to know if it's possible to remove programmatically a logger from a repository.

This is my use case:
I have a configuration class that configures my loggers with my appenders and so on; this plays like a PropertyConfigurator reading a file like:

X.level=ALL
X.appender=MyAppender1

X.Y.level=ALL
X.Y.appender=MyAppender1

X.W.level=INFO
X.W.appender=MyAppender2

X.Z.level=ALL
X.Z.appender=MyAppender2

I configure just my loggers without call LogManage.resetConfiguration so others already existing Loggers don't change because these are not handled by my application.

When I detect the file change, I would like to reconfigure my loggers but now the file can contain just:

X.level=ALL
X.appender=MyAppender1


so I should "reset" the configuration for X.Y, X.W and X.Z (or remove them from the repository).

Any help ?
THanks a lot.

ste


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

Reply via email to