On Tue, 25 Aug 2009 09:39 -0700, "Mike Schilli" <m...@pe...>
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 <ro...@em...>
+ 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)
|