From: Tim Pease Date: 2009-05-06T00:12:58+09:00 Subject: Re: my logroll code, please critique On Tue, May 5, 2009 at 2:55 AM, Tom Cloyd wrote: > Derek Smith wrote: >> >> My goal is to keep 10 files each at 100Mb. Please critique and suggest >> any corrections I need to make.  Thank you! >> >> >> > > Derek, I'm interested in what your trying to do here, and in the comments > it's elicited. Could you share you revised code, when it's ready (or > backchannel it, if you wish). I could definitely USE this! > Take a look at the "logging" gem. The RollingFile appender will do exactly this -- rolling files based on size or age. Moreover, it will safely roll the files even if multiple processes are writing to the same file. rubyforge.org/projects/logging Blessings, TwP