RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Log File Rotation Using Logger

Log files can get pretty large if you leave them long enough. Here I describe how to setup log rotation using the ruby Logger. I find this contains the apps logic better than defining it in the OS’ log rotate. View the article here: http://solidfoundationwebdev.com/posts/rails-log-file-rotation

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in