Re: Limit the size of logfile
"Marcello H" <[email protected]> Wed, 31 Dec 2008 07:43:00 +0100
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
--===============2188660288627686793== Content-Type: multipart/alternative; boundary="----=_Part_31546_3537463.1230705780896" ------=_Part_31546_3537463.1230705780896 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline You can actually put this in your webmacro.properties: # # Use this when a logfile per day is wanted. # (Ideal on production servers.) # LogFilePerDay=3DYES It will help you, I suppose..... 2008/12/30 Ren=E8 Glanzer <[email protected]> > Hey, > > is there a possibility to limit the size of the webmacro log file > configured in the Webmacro.properties file? > For example in log4j i can limit the size of the file and even tell > the logger how many backups of the rolled files should be stored. > > Is there anything like this in the webmacro logger available? > I'm using webmacro.jar 2.0. > > Thanks in advance > Ren=E8 > > > -------------------------------------------------------------------------= ----- > _______________________________________________ > Webmacro-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/webmacro-user > ------=_Part_31546_3537463.1230705780896 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline You can actually put this in your webmacro.properties:<br><br>#<br># Use th= is when a logfile per day is wanted.<br># (Ideal on production servers.)<br= >#<br>LogFilePerDay=3DYES<br><br>It will help you, I suppose.....<br><br><b= r> <br><br><div class=3D"gmail_quote">2008/12/30 Ren=E8 Glanzer <span dir=3D"l= tr"><<a href=3D"mailto:[email protected]">[email protected]</a= >></span><br><blockquote class=3D"gmail_quote" style=3D"border-left: 1px= solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Hey,<br> <br> is there a possibility to limit the size of the webmacro log file<br> configured in the Webmacro.properties file?<br> For example in log4j i can limit the size of the file and even tell<br> the logger how many backups of the rolled files should be stored.<br> <br> Is there anything like this in the webmacro logger available?<br> I'm using webmacro.jar 2.0.<br> <br> Thanks in advance<br> Ren=E8<br> <br> ---------------------------------------------------------------------------= ---<br> _______________________________________________<br> Webmacro-user mailing list<br> <a href=3D"mailto:[email protected]">Webmacro-user@lists.= sourceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/webmacro-user" targ= et=3D"_blank">https://lists.sourceforge.net/lists/listinfo/webmacro-user</a= ><br> </blockquote></div><br> ------=_Part_31546_3537463.1230705780896-- --===============2188660288627686793== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============2188660288627686793== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Webmacro-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/webmacro-user --===============2188660288627686793==--