Hi!
I just saw that my development.log file was 450 MB! Anything to do about
this ? Is there a way to turn on rotating-logs?
Thank you!
david
Hi!
I just saw that my development.log file was 450 MB! Anything to do about
this ? Is there a way to turn on rotating-logs?
Thank you!
david
You rotate Rails logs just like any other server logs. Most systems
come with a log rotation program installed. For example, on Redhat
based systems the command is simply called ‘logrotate’ and it is
configured via per application configuration files located in
/etc/logrotate.d.
– Wes
Great tip, thank you Wes!
Wesley M. wrote:
You rotate Rails logs just like any other server logs. Most systems
come with a log rotation program installed. For example, on Redhat
based systems the command is simply called ‘logrotate’ and it is
configured via per application configuration files located in
/etc/logrotate.d.– Wes
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs