Bansemir, Carsten | 1 Dec 2003 10:57
Picon

AW: DailyRollingFileAppender with filesize option

Hi, some time ago i wrote the following to the log4j-dev mailing list:

----
Hi, 
I had several problems with the DailyRollingFileAppender (see user mailing list), so I downloaded the
DailyRollingAppenderExt.jar but I can't find the source of this file again (so I also can't find out the
author of this Class).

I extended this class so that the Appender rolls by date AND by size, like the
CompositeRollingFileAppender does, with the difference that it logs to a different file every day,
without having to rename any files (that was the problem with threads logging to yesterday's dir because
the Java method "renameTo()" fails in the RollingFileAppender or the CompositeRollingFileAppender.

My question is: Are you interested in this Appender? and if so, do you know who the original author of
DailyRollingFileAppenderExt was? 
I would like to give this appender out to the people searching for something like that in the mailing list,
it's almost an FAQ, but I would like to ask the original author before.
----

So if someone finds out the the author of the original DailyRollingFileAppenderExt please tell me, that I
can give out the modified one to the people who want it.

-----Ursprüngliche Nachricht-----
Von: Manju Joseph [mailto:manjumarat <at> hotmail.com]
Gesendet: Sonntag, 30. November 2003 03:08
An: log4j-user <at> jakarta.apache.org
Betreff: Fwd: DailyRollingFileAppender with filesize option

Hello..,

(Continue reading)

tom ONeill | 1 Dec 2003 12:56
Picon
Favicon

Unexpected logger ancestor

Hi all,

I am using log4j 1.2.8 which I have congifured using the XML configuration. 
I have defined four category entires in my log file and I have now 
encountered some unexpected (for me at least) behaviour.

The loggers are configured as follows:

<category name="X" >
   <priority value="debug" />
</category>

<category name="Y" >
   <priority value="debug" />
</category>

<category name="X.Z" >
   <priority value="debug" />
</category>

<category name="Y.Z" >
   <priority value="debug" />
</category>

<root>
   <priority value="INFO"/>
   <appender-ref ref="MyFile"/>
</root>

I have turned the log4j debug output on and it seems that the X and Y  and 
(Continue reading)

Martin Flower | 1 Dec 2003 19:13
Picon
Gravatar

commons.logging and log4j configureAndWatch

commons.logging and log4j configureAndWatch

Hello

The application I work on currently uses the log4j configureAndWatch
facility which
allows the logging level to be dynamically modified without restarting the
application.

I am now evaluating whether we can move to the commons.logging framework as
a wrapper to log4j.  The answer is yes - but I cannot  see how to
dynamically
modify the logging level.  I was hoping there would be a facility within the
log4j.properties file, such as
log4j.PropertyConfigurator.configureAndWatch=true,
but I may be searching in vain.

Any help will be gratefully received.  Thanks !

======
Martin
Mark Womack | 1 Dec 2003 19:34

RE: commons.logging and log4j configureAndWatch

Hi Martin,

There is no such functionality available in v1.2.X.  We are working on this
functionality for v1.3 (Watchdogs).  For now, you would need to write your
own log4j specific code, outside of the common-logging framework.

hth,
-Mark

> -----Original Message-----
> From: Martin Flower [mailto:sylvestris <at> gmx.net]
> Sent: Monday, December 01, 2003 10:14 AM
> To: log4j-user <at> jakarta.apache.org
> Subject: commons.logging and log4j configureAndWatch
> 
> 
> commons.logging and log4j configureAndWatch
> 
> Hello
> 
> The application I work on currently uses the log4j configureAndWatch
> facility which
> allows the logging level to be dynamically modified without 
> restarting the
> application.
> 
> I am now evaluating whether we can move to the 
> commons.logging framework as
> a wrapper to log4j.  The answer is yes - but I cannot  see how to
> dynamically
(Continue reading)

Paul Smith | 1 Dec 2003 22:38
Picon

Re: AW: DailyRollingFileAppender with filesize option

Hi Carsten,

It is my understanding, and I may be wrong here, that Ceki has
completely rewritten the whole rolling appender framework to allow much
more flexibility in the composition of different rules for rolling. This
unfortunately not in the released version at this time, but the 1.3
release is not that far away.

We appreciate your contribution, perhaps you could attach the files to a
bug item (if you haven't done so already), so that your efforts don't
get lost if my understanding is not correct.

cheers,

Paul Smith

On Mon, 2003-12-01 at 20:57, Bansemir, Carsten wrote:
> Hi, some time ago i wrote the following to the log4j-dev mailing list:
> 
> ----
> Hi, 
> I had several problems with the DailyRollingFileAppender (see user mailing list), so I downloaded the
DailyRollingAppenderExt.jar but I can't find the source of this file again (so I also can't find out the
author of this Class).
> 
> I extended this class so that the Appender rolls by date AND by size, like the
CompositeRollingFileAppender does, with the difference that it logs to a different file every day,
without having to rename any files (that was the problem with threads logging to yesterday's dir because
the Java method "renameTo()" fails in the RollingFileAppender or the CompositeRollingFileAppender.
> 
(Continue reading)

Robert Augustyn | 2 Dec 2003 05:29
Picon
Favicon

RE: Resolution: How stable is Chainsaw 2?

Scott,
Thank you for your help. 
I like this version, is it possible to run it with
current production
version of log4j?
Thanks.
robert

-----Original Message-----
From: Scott Deboy [mailto:sdeboy <at> comotivsystems.com] 
Sent: Sunday, November 30, 2003 2:20 PM
To: Log4J Users List
Subject: Resolution: How stable is Chainsaw 2?

FYI,

For anyone interested in building log4j from source,
ensure paths in
build.properties use forward slashes.

Scott

-----Original Message-----
From:	Robert Augustyn [mailto:augustynr <at> yahoo.com]
Sent:	Sat 11/29/2003 8:20 PM
To:	'Log4J Users List'
Cc:	
Subject:	RE: How stable is Chainsaw 2?
Well I did all that and I got the output you have
expected ( almost ) but
(Continue reading)

Paul Smith | 2 Dec 2003 05:38
Picon

RE: Resolution: How stable is Chainsaw 2?

On Tue, 2003-12-02 at 15:29, Robert Augustyn wrote:
> Scott,
> Thank you for your help. 
> I like this version, is it possible to run it with
> current production
> version of log4j?
> Thanks.
> robert

Definately, I was using this with log4j 1.2.7 a few months ago until we
(finally!) upgraded to 1.2.8.  No problems at all.

Feel free to post suggestions, comments etc to this list.

cheers,

Paul Smith
Martin Flower | 2 Dec 2003 08:34
Picon
Gravatar

RE: commons.logging and log4j configureAndWatch

Thank you very much for this information.

======
Martin

-----Original Message-----
From: Mark Womack [mailto:mwomack <at> bevocal.com]
Sent: 01 December 2003 18:35
To: 'Log4J Users List'
Subject: RE: commons.logging and log4j configureAndWatch

Hi Martin,

There is no such functionality available in v1.2.X.  We are working on this
functionality for v1.3 (Watchdogs).  For now, you would need to write your
own log4j specific code, outside of the common-logging framework.

hth,
-Mark

> -----Original Message-----
> From: Martin Flower [mailto:sylvestris <at> gmx.net]
> Sent: Monday, December 01, 2003 10:14 AM
> To: log4j-user <at> jakarta.apache.org
> Subject: commons.logging and log4j configureAndWatch
> 
> 
> commons.logging and log4j configureAndWatch
> 
> Hello
(Continue reading)

Ulrich.Kleeberger | 2 Dec 2003 08:35
Picon

Antwort: RE: Resolution: How stable is Chainsaw 2?


i have made the same experience with chainsaw v2.
i am using it with 1.2.8 and i dont have problems.

                                                                                                                                       
                      Paul Smith                                                                                                       
                      <paul.smith <at> lawle        An:       Log4J Users List <log4j-user <at> jakarta.apache.org>                              
                      x.com.au>                Kopie:                                                                                  
                                               Thema:    RE: Resolution: How stable is Chainsaw 2?                                     
                      02.12.03 05:38                                                                                                   
                      Bitte antworten                                                                                                  
                      an "Log4J Users                                                                                                  
                      List"                                                                                                            

On Tue, 2003-12-02 at 15:29, Robert Augustyn wrote:
> Scott,
> Thank you for your help.
> I like this version, is it possible to run it with
> current production
> version of log4j?
> Thanks.
> robert

Definately, I was using this with log4j 1.2.7 a few months ago until we
(finally!) upgraded to 1.2.8.  No problems at all.

Feel free to post suggestions, comments etc to this list.

cheers,

(Continue reading)

Ulrich.Kleeberger | 2 Dec 2003 08:39
Picon

timestamp in chainsaw v2

hi guys,

what i am missing in chainsaw v2 is the possibility to define the timestamp
mask.
in the log panel preferences you can only specify three different timestamp
masks.
is there any way to define your own timestamp mask like dd.MM.yyyy HH:mm:ss
or am i missing something?

servus uli

Gmane