brain.rbinstance_missing
i was called the other day about one of my past projects server going down because it’s production log exceeded 2GB.
regularly, there is a cron job to cycle the log file and prevent such joyous occasions, but for some reason it didn’t happen. so i decided to read a little bit about the Logger class in Rails and see if it has some magic for me yet.
in order to replace the log file path (and/or name) use the following syntax in environment.rb:
| Variable | Value |
|---|---|
| GITHUB | |
| WWR | { :working_with_rails => 'http://www.workingwithrails.com/person/5844-elad-meidar' } |
| IRC | { 'irc.freenode.net' => [ '#rubyonrails', '#railsbridge', '#ruby', '#mootools' ]} |
| SKYPE | eladmeidar |
You're seeing this error because I think it is funny.