Re: Clearing All Loggers from the Logger Repository.

2014-04-11 Thread Alexandru Zbarcea
Fair enough +1 Alex On Apr 11, 2014 8:56 AM, "Thorsten Schöning" wrote: Guten Tag Alexandru Zbarcea, am Freitag, 11. April 2014 um 14:32 schrieben Sie: > It is not easy. But the question remains, is it an acceptable > feature request? If yes, ye can create a ticket, and we'll see when it will

Re: Clearing All Loggers from the Logger Repository.

2014-04-11 Thread Thorsten Schöning
Guten Tag Alexandru Zbarcea, am Freitag, 11. April 2014 um 14:32 schrieben Sie: > It is not easy. But the question remains, is it an acceptable  > feature request? If yes, ye can create a ticket, and we'll see when it will > be implemented. From my point of view what he wants can be achieved by

Re: Clearing All Loggers from the Logger Repository.

2014-04-11 Thread Alexandru Zbarcea
You are right Thorsten, It is not easy. But the question remains, is it an acceptable feature request? If yes, ye can create a ticket, and we'll see when it will be implemented. To remove the logger completely he can not. But he can reduce the size to 10K and max backup to 1. Regards, Alex Gute

Re: Clearing All Loggers from the Logger Repository.

2014-04-10 Thread Thorsten Schöning
Guten Tag Alexandru Zbarcea, am Donnerstag, 10. April 2014 um 23:04 schrieben Sie: > Log4j has the: > log4j.appender.example.MaxFileSize=500KB > log4j.appender.example.MaxBackupIndex=10 > (xml file should be ~ the same) > I know this was in plan to implement of not already. This is the > proper

Re: Clearing All Loggers from the Logger Repository.

2014-04-10 Thread Alexandru Zbarcea
Hi, > And that's the point: There's no logic or API to delete loggers and > during reloading a configuration file the repository is not > automatically reset, which means changes are only added or existing > objects reconfigured. Deleted loggers are not recognized as such and > stay in the repo.

Re: Clearing All Loggers from the Logger Repository.

2014-04-10 Thread Thorsten Schöning
Guten Tag Nandan S, am Donnerstag, 10. April 2014 um 10:43 schrieben Sie: > Loggers will be deleted/added from configuration file manually. And that's the point: There's no logic or API to delete loggers and during reloading a configuration file the repository is not automatically reset, wh

Re: Clearing All Loggers from the Logger Repository.

2014-04-10 Thread Nandan S
>> When my software is running, i delete one of the logger's. >You still didn't explain how exactly you are doing that because there >don't seem to be an API do delete loggers. Loggers will be deleted/added from configuration file manually. Changes configuration will be used only aft

Re: Clearing All Loggers from the Logger Repository.

2014-04-10 Thread Thorsten Schöning
Guten Tag Nandan S, am Donnerstag, 10. April 2014 um 07:02 schrieben Sie: > When my software is running, i delete one of the logger's. You still didn't explain how exactly you are doing that because there don't seem to be an API do delete loggers. >In any case, if the configuration file

Re: Clearing All Loggers from the Logger Repository.

2014-04-09 Thread Nandan S
Hi Alex, Our software is based on software component architecture and each component will have it's own logger along with default root logger. If the logger with component name exists, it uses the component logger for logging and if it does not exist, then the component will use root logger.

Re: Clearing All Loggers from the Logger Repository.

2014-04-09 Thread Alexandru Zbarcea
Hi Nandan, I think I understand what you want to achieve. Can you setup-up an example project to understand and test better? I think your request would translate better into some feature request. Regards, Alex

Re: Clearing All Loggers from the Logger Repository.

2014-04-01 Thread Thorsten Schöning
Guten Tag Nandan S, am Dienstag, 1. April 2014 um 17:09 schrieben Sie: > does log4cxx have a direct function like repo->deleteLogger(). ... Doesn't look like and anyways I would think this is somewhat complex to achieve. How should callers with to be deleted loggers deal with this situation or th