in reply to Apache log pipe doesn't write to log files

It should also be noted that if I run this on the command line:
$ cat my_normal_log_file | ./split-logfiles
it works just fine.

Replies are listed 'Best First'.
Re: Re: Apache log pipe doesn't write to log files
by BrowserUk (Patriarch) on Nov 10, 2002 at 06:44 UTC

    Try closing your ouput file before you exit.


    Nah! You're thinking of Simon Templar, originally played (on UKTV) by Roger Moore and later by Ian Ogilvy

        But would have been better applied to the OP's post, rather than mine:)


        Nah! You're thinking of Simon Templar, originally played (on UKTV) by Roger Moore and later by Ian Ogilvy
      I feel so bright now. I turned off buffering, and it worked just fine. Thanks!