Is there an easy way to limit the size of a log file? I'm not looking 
for a rollover solution, but for one, where a new file is created if
the old one exceeds a certain size.

My idea is to intercept each call to Log4perl, test the size of the
log file, and switch to a new log file if the old one got too big. 
But maybe there is something built into Log4perl already, which
works in that way? I checked the perldoc's and didn't find anything
suitable though...

Ronald
-- 
Ronald Fischer <rona...@eml.cc>
+  If a packet hits a pocket on a socket on a port, 
+  and the bus is interrupted and the interrupt's not caught,
+  then the socket packet pocket has an error to report.
+               (cited after Peter van der Linden)


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to