From: Ronald F. <yn...@mm...> - 2009-08-24 14:21:33
|
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 <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) |