>   noel        2003/02/08 22:55:52
>   Modified: src/conf Tag: branch_2_1_fcs james-server.xml
>   Log:
>   Set default rotation to daily OR 10MB

To get the logfiles to begin with the date, ie
20030214James.Log, try setting up the environment as follows
-
 
      <file id="James-target">
        <filename>d:/Transfer/James/logs/20</filename>
        <format>%{time:dd/MM/yy HH:mm:ss} %5.5{priority}
%{category}: %{message}\n%{throwable}</format>
        <append>true</append>
        <rotation type="unique" pattern="yyMMdd"
suffix="james.log">
          <or>
            <date>dd</date>
            <size>10485760</size>
          </or>
        </rotation>
      </file>



_______________________
thanks,
alan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to