[Rails] Re: Workling not outputting to production.log

2009-05-04 Thread Ralph Haygood
Thanks for posting this. It really should be explained in the Workling documentation. On Apr 10, 3:11 am, Albert Wong rails-mailing-l...@andreas-s.net wrote: Finally figured this out, and posting it incase anyone else runs into this issue. It has to do with logger buffers everything sent to

[Rails] Re: Workling not outputting to production.log

2009-04-11 Thread Tonypm
Albert, thank you so much for this info. I have posted this quation twice and not received a response. Tried it and it is the solution. It has been irritating me for a while, but I just haven't had time to investigate it. Many thanks Tonypm

[Rails] Re: Workling not outputting to production.log

2009-04-10 Thread Albert Wong
Finally figured this out, and posting it incase anyone else runs into this issue. It has to do with logger buffers everything sent to is and does not auto flush in production environment. So a quick fix is to call logger.flush whenever the worker completes, probably a better way to do this