On Tue, 25 Aug 2009 09:39 -0700, "Mike Schilli" <m...@perlmeister.com>
wrote:
> > 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.
> 
> That's pretty much the case with Log::Dispatch::FileRotate, a given file
> size, and a max value of 1. 

Thanks a lot! The perldoc says that FileRotate "provides a simple object 
for logging to files under the Log::Dispatch::* system", so I'm
surprised
that it will also work with Log::Log4perl, but I'll give it a try.

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