I’m totaly new to logs. I don’t read them and I totally don’t care about
them
But they are growing and take BIG space.
How could I limit the size of the logs ?
Is it possible to desactivate the write of logs ?
Thanks
I’m totaly new to logs. I don’t read them and I totally don’t care about
them
But they are growing and take BIG space.
How could I limit the size of the logs ?
Is it possible to desactivate the write of logs ?
Thanks
Is it possible to desactivate the write of logs ?
Start here :
http://rails-analyzer.rubyforge.org/classes/SyslogLogger.html
And check environment/*.rb files
Finally , I could simply write in environment.rb
config.log_level = :fatal ( or :error )
to minimize the informations written in log.
Is it a good method ?
Witch level are you usually use in production ?
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