tag:www.railsillustrated.com,2009:/class-based-logger-in-rails/feed Comments on „A Simple Class Based Logger in Rails“ Rails Ill. www.railsillustrated.com/class-based-logger-in-rails.html 2010-01-06T14:26:11Z tag:www.railsillustrated.com,2009-03-03:/class-based-logger-in-rails/comments/1262731938 2010-01-05T22:52:18Z Stephan Wehner said on January 5 2010 It's nice. Surely there is no dependency on ActiveRecord? What do you think about supporting log rotation? * log/email_20100105.log * log/payments_20100105.log Stephan Stephan Wehner http://loggingit.com tag:www.railsillustrated.com,2009-03-03:/class-based-logger-in-rails/comments/1262787971 2010-01-06T14:26:11Z Erik said on January 6 2010 **Stephan**: You are correct, there is no dependency on ActiveRecord although `RAILS_ROOT` is used to determine the relative path of the log files. It is easy to modify to support log rotations since the log file is written using the [Ruby Logger class](http://ruby-doc.org/core/classes/Logger.html) which supports rotating logs. Erik