Have you tried calling $exp->log_file(undef) before you do $exp->log_file(\&formatoutput)? That closes the current log_file that you specified which should theoretically flush the buffer before you open the new log_file.
HTH
In reply to Re: Re: Re: phantom log from hell?
by pzbagel
in thread phantom log from hell?
by jcpunk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |