Forum: Ruby on Rails Define maximum logs size ? Desactivate logs ?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
oo00oo (Guest)
on 2006-03-02 21:00
(Received via mailing list)
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 ?

Mathieu C. (Guest)
on 2006-03-03 12:27
(Received via mailing list)
> Is it possible to desactivate the write of logs ?

Start here :

And check environment/*.rb files
oo00oo (Guest)
on 2006-03-03 12:58
(Received via mailing list)
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 topic is locked and can not be replied to.