avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernhard Huber" <bh22...@i-one.at>
Subject Re: AW: LogKit - FileRotation
Date Fri, 17 Aug 2001 11:20:03 GMT
Hi
Just one point: 
First create a LogTarget
set a FileNameStrategy
change the FileNameStrategy for this LogTarget. Then you start using
the LogTarget
You have to postpone the opening of the file til you can be
sure that will be used.

Another think I noticed is the impl. of error() in LogFileTarget, once
you specify a File which cannot be written to, a lot of error() 
invocation happens. I don't have any real solution on that perhaps
implementing something like 'line has repeated 12 times...' instead 
writting always the same senseless message.

bye


Mime
View raw message