+1 for comit to HEAD Noel. I'm kind of out of the picture for 2.1 at the mo, so no 
+comment.

> -----Original Message-----
> From: Noel J. Bergman [mailto:[EMAIL PROTECTED]]
> Sent: 26 January 2003 21:09
> To: James Developers List
> Subject: RE: Log File Rotation
> 
> 
> Attached is a version of james-server.xml to configure James for daily
> server logs.  It appears to work so far.  If it works overnight, 
> and no one
> has any objections, I'll commit to the CVS, both v2.1 and HEAD.
> 
>       --- Noel
> 
> -----Original Message-----
> From: Noel J. Bergman [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, January 26, 2003 14:45
> To: James Developers List
> Subject: RE: Log File Rotation
> 
> 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/a
valon/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]>

Reply via email to