Serge,
I'll work on it ... looks like we need something like:
<file id="default">
<filename> ... </filename>
<format> ... </format>
<append>true</append>
<rotation type="unique" pattern="yyyy-MM-dd" suffix=".log">
<or>
<date>dd</date>
</or>
</rotation>
</file>
That should do daily rotation. Will experiment. We might also need to
change the filename to eliminate the suffix, which may from from the
rotation tag. Will check the code.
--- Noel
-----Original Message-----
From: Serge Knystautas [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 25, 2003 20:20
To: James Developers List
Subject: Re: Log File Rotation
----- Original Message -----
From: "Noel J. Bergman" <[EMAIL PROTECTED]>
> James uses Avalon's logging mechanism. See the documentation for the
> FileTargetFactory, and then adjust SAR-INF/environment.xml accordingly.
>
> ref:
>
http://jakarta.apache.org/avalon/excalibur/logger/api/org/apache/avalon/exca
libur/logger/factory/FileTargetFactory.html
[switching to dev]
Shouldn't we change James log files to rotate by default so they can't grow
unchecked? Is this logger feature available in what we're using with the
2.1 branch? I would +1 to changing it to rotate for the 2.1.1 release.
Serge Knystautas
Lokitech
Software - Strategy - Design
http://www.lokitech.com/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>