[Catalyst] Logging is not immediate

Bill Moseley moseley at hank.org
Tue Oct 19 00:05:07 GMT 2010

On Mon, Oct 18, 2010 at 4:46 PM, Ken Beal <KBeal at crosscountry-auto.com>wrot=

>  The issue is that when I call $c->log(), it doesn=92t output anything un=
> the =93URL call=94 completes. This makes it difficult to watch a long-run=
> process, because I don=92t see anything until it=92s done, and I don=92t =
know if
> it=92s hung up on something because I can=92t see the log output.

maybe try this:  $c->log->_flush;

Or try: warn "I'm stuck in a loop and the web user is wondering why I'm
taking so long and will likely hit reload any second now!\n";

-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20101018/c6094=

More information about the Catalyst mailing list