Yup - the append flag is not being passed to the rotating file log target.
So right now you can have one or the other.

If you want to append to the log file without using the file rotation
scheme, then change the 'logfile' section of the server.xml file to look
like this (i.e. delete the <rotation> tag):

            <priority-filter id="logfile" log-level="INFO">
             <file>
              <filename>${app.home}/logs/mailserver.log</filename>
              <format type="extended">%19.19{time:yyyy-MM-dd HH:mm:ss.SSS}
%5.5{priority} [%15.15{category}]: %{message}\n%{throwable}</format>
              <append>true</append>
             </file>
            </priority-filter>

Cheers
Steve
-----Original Message-----
From: Gordon Ross [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 06, 2002 12:23 PM
To: [EMAIL PROTECTED]
Subject: RE: Future enhancement/changes for James


I replaced my server.xml with your one, and the logs got deleted.

GTG

Gordon Ross,
Network Manager,
Countryside Council for Wales
>>> [EMAIL PROTECTED] 03/06/02 19:49 PM >>>
My changes have not been commited by the James team yet.  But since it's
just a config file it's easy for you to replace your server.xml with
mine
and change settings as you like.


--
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]>

Reply via email to