We use rsyslog, with a central logging server whenever the app is installed on more than one machine. The interesting bits of that config are here:
https://gist.github.com/725749 logrotate can (and automatically does, on Ubuntu) SIGHUP the rsyslog process, without losing any logged lines. For a busy app, though, logrotate `daily` isn't enough, and can still use up 10s of GBs. logrotate lets you set max file size limits with `size 200M` in the config file. Paul Sadauskas On Wed, Dec 1, 2010 at 10:53 PM, Tony Arcieri <[email protected]>wrote: > I'd be more interested in the syslog logging to Splunk > > > On Wed, Dec 1, 2010 at 9:50 PM, Tim Pease <[email protected]> wrote: > >> At the last boulder.rb meeting, I mentioned a solution for rolling rails >> log files so they do not consume your disk and cause your server to crumble, >> crash, and catch fire. After much holiday cheer (and a new domain registrar) >> a blog post has been written ... >> >> http://pea53.com/rolling-rails-log-files >> >> Enjoy! >> >> TwP >> _______________________________________________ >> Bdrg-members mailing list >> [email protected] >> http://rubyforge.org/mailman/listinfo/bdrg-members >> > > > > -- > Tony Arcieri > Medioh! A Kudelski Brand > > _______________________________________________ > Bdrg-members mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/bdrg-members >
_______________________________________________ Bdrg-members mailing list [email protected] http://rubyforge.org/mailman/listinfo/bdrg-members
