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 be implemented.

>From my point of view what he wants can be achieved by implementing
callbacks for the filewatcher, this should be more easy to implement
than removing single loggers alone.

https://issues.apache.org/jira/browse/LOGCXX-429

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning   E-Mail:thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme  http://www.AM-SoFT.de/

Telefon...05151-  9468- 55
Fax...05151-  9468- 88
Mobil..0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


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 implementing
callbacks for the filewatcher, this should be more easy to implement
than removing single loggers alone.

https://issues.apache.org/jira/browse/LOGCXX-429

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning   E-Mail:thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme  http://www.AM-SoFT.de/

Telefon...05151-  9468- 55
Fax...05151-  9468- 88
Mobil..0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow



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
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 way to keep the logs small. Do not delete them manually if
> you do not want to restart the app.

One of us misunderstands his problem: I don't think it's about log
file sizes, but changes in the log configuration itself on file level
and how or if at all they are reflected if a file watcher is used. And
some changes, like deleted loggers, are simply not recognized as such
because it's a complex topic to do so.

Mit freundlichen Grüßen,

Thorsten Schöning

--
Thorsten Schöning   E-Mail:thorsten.schoen...@am-soft.de
AM-SoFT IT-Systeme  http://www.AM-SoFT.de/

Telefon...05151-  9468- 55
Fax...05151-  9468- 88
Mobil..0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow