[Mongrel] Timestamping in log file?
Wayne E. Seguin
wayneeseguin at gmail.com
Tue Nov 20 21:48:33 EST 2007
On Nov 20, 2007 1:06 PM, Steve Midgley <public at misuse.org> wrote:
> I'm wondering if it's easy to add timestamps to the mongrel log? I am
> having a problem where an externally spawned application by Rails is
> failing. Mongrel kindly logs the error message returned by this
> application when it fails. But it doesn't record a timestamp as to when
> the error occurs, which makes it a little tricky to sync this up to my
> webserver logs to figure out the execution path which is causing the
> Is there an easy way to add timestamping to logs in Mongrel for
> exception traps? I am using a hosting service (EngineYard) so ideally
> this isn't something that requires a code change but can be done via
> configuration. Though I'm sure EY will do what's necessary to make it
> happen, it'll be better if the change is simple/low impact.
> Thanks for any advice!
We are actually adding this to Mongrel. Should be out in an upcoming release.
It involves combing through the code :) I am about 75% through.
More information about the Mongrel-users