logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandru Zbarcea <zbarce...@gmail.com>
Subject Re: Clearing All Loggers from the Logger Repository.
Date Fri, 11 Apr 2014 12:32:28 GMT
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.Schoening@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

Mime
View raw message