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:
- no SQL queries;
- no error trace;
- no params inspect;
- no response time and so on.
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
?