I have old project where I have to use Rails 2.0.2.
I have faced problem with debugging of errors in application. Current problem is that I have very short log output in development environment:
All I have (for each request):
127.0.0.1 - - [29/nov/2012:17:54:41 EET] "POST /products/1/nested HTTP/1.1" 500 60
- -> /products/1/nested
In configuration I have log_level
enabled to :debug
(it is enabled to :debug by default).
Any idea how I can improve logging in Rails 2.0.2
to make it look like Rails 2.3.x
or 3.x
?
The log you posted is an apache (or other web server) log. You want the log in app/log/<environment>.log
which has all the goodies just like in Rails 2.