printing stack trace of 404/500 errors to webpage etc.
- Lamdk
- Posts: 5
- Starts: 4
- Wiki Edits: 0
- Location: PALO ALTO CALIFORNIA
sorry i'm pretty sure there must be another *post about this, but how do i set my thing up so that it dumps everything to the page so i don't always have to check my production.log? (its tedious)
- Willc
- Posts: 45
- Starts: 1
- Wiki Edits: 15
I'd recommend that you run
tail -f ~/<railsapp>/log/production.log
This will display your log file in real time in command-line as you access your app. That way you don't have to mess with any configuration, or worry about any visitors seeing anything you wouldn't want them seeing.
2007-07-19 03:49 PM
- Lamdk
- Posts: 5
- Starts: 4
- Wiki Edits: 0
- Location: PALO ALTO CALIFORNIA
ah nice awsome