July 2009
1 post
Using a Custom Logger with Rails
One of the great things about Rails is that of course it automatically does logging… and has different levels of logging for each environment. Despite this, I had a couple of gripes: 1. The logger doesn’t have a formatter - i.e. in particular, it doesn’t include timestamps. 2. It doesn’t automatically rotate - and the development log can get MASSIVE (I’ve often had...
Jul 20th