Re: Limit the size of logfile
"Marcello H" <[email protected]> Wed, 31 Dec 2008 08:51:14 +0100
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
--===============4303025872605310892== Content-Type: multipart/alternative; boundary="----=_Part_32016_14690449.1230709874467" ------=_Part_32016_14690449.1230709874467 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline And ofcourse, I forgot to mention: If you're handy with Java, you could actually make the stuff you want inside: \org\webmacro\util\LogFile.java 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_32016_14690449.1230709874467 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline And ofcourse, I forgot to mention:<br>If you're handy with Java, you co= uld actually make the stuff you want inside:<br>\org\webmacro\util\LogFile.= java<br><br><br><div class=3D"gmail_quote">2008/12/30 Ren=E8 Glanzer <span = dir=3D"ltr"><<a href=3D"mailto:[email protected]">rene.glanzer@gmai= l.com</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_32016_14690449.1230709874467-- --===============4303025872605310892== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============4303025872605310892== 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 --===============4303025872605310892==--