Define maximum logs size ? Desactivate logs?


#1

I’m totaly new to logs. I don’t read them and I totally don’t care about
them :slight_smile:

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


#2

Is it possible to desactivate the write of logs ?

Start here :
http://rails-analyzer.rubyforge.org/classes/SyslogLogger.html

And check environment/*.rb files


#3

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 ?