You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Ian Huynh <ia...@hubspan.com> on 2002/10/02 19:20:05 UTC

Is it possible to append to James Log files and not overwite when restarted?

Hi
 
Is it possible to setup James not to overwrite the log files when it's restarted?
I am running James as an NT Service
 
Thanks.
 
 

RE: Is it possible to append to James Log files and not overwite when restarted?

Posted by "Noel J. Bergman" <no...@devtech.com>.
Remember the mantra: "What version of James?"

My current James logs (~100MB) date back to August 17.  James 2.1-CVS.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Is it possible to append to James Log files and not overwite when restarted?

Posted by Simeon Kirov <sk...@worldnn.com>.
You should upgrade to Avalon Logkit 1.1.

The easiest way to do is to download latest james-2.1a1-2002-09-19 binaries
and unpack them somewhere (%JAMES_2.1%).

Run James 2.1 at least once in order to unpack itself. You'll need two files
%JAMES_2.1%\lib\logkit-1.1a.jar and
%JAMES_2.1%\apps\james\SAR-INF\environment.xml. If you don't want to run
James 2.1, you can unpack environment.xml by running "jar xvf apps\james.sar
SAR-INF/environment.xml" from %JAMES_2.1% directory.

Now in your working copy of James (%JAMES_2.03%) replace
%JAMES_2.03%\lib\logkit-1.0.jar with %JAMES_2.1%\lib\logkit-1.1a.jar and
%JAMES_2.03%\apps\james\conf\server.xml with
%JAMES_2.1%\apps\james\SAR-INF\environment.xml. Of course you should rename
environment.xml to server.xml and backup your old files.

As bonus you'll have logs timestamps in human readable format :)

Simeon





> -----Original Message-----
> From: Ian Huynh [mailto:ianh@hubspan.com]
> Sent: Wednesday, October 02, 2002 20:20
> To: james-user@jakarta.apache.org
> Subject: Is it possible to append to James Log files and not overwite
> when restarted?
>
>
> Hi
>
> Is it possible to setup James not to overwrite the log files when
> it's restarted?
> I am running James as an NT Service
>
> Thanks.
>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>