logfile rotate

D

Derek Smith

Is there a gem that rolls logs for you? if so how and where can I get
it? I have started to write my own, but figured I'd ask.

thx!
 
T

Tim Pease

Is there a gem that rolls logs for you? if so how and where can I get
it? I have started to write my own, but figured I'd ask.

Take a look at the "logging" gem. It has a rolling logfile appender --
rotates logfiles after they get (a) too big or (b) too old. If you are
not generating the logfiles from a Ruby app, then that appender is a
good place to steal code from.

Blessings,
TwP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,947
Members
47,498
Latest member
yelene6679

Latest Threads

Top