You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/06/29 23:14:30 UTC

DO NOT REPLY [Bug 10353] New: - CustomLogs piping does not work

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10353>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10353

CustomLogs piping does not work

           Summary: CustomLogs piping does not work
           Product: Apache httpd-2.0
           Version: 2.0.39
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_log_config
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: bpettit@yahoo.com


It seems that using the pipe in the customlogs is not working.  I've tried the 
rotatelogs and it doesn nothing.  I also created my own perl script to test 
this.

Here is what is in my httpd.conf

CustomLog "|bin/logs.pl logs/access.log" combined

And my perl script:

#!d:/Perl/bin/Perl.exe

#$x = <>;
#open OUT, ">> $ARGV[0]";
#print OUT $x;
#close OUT;

open OUT, "> d:/a";
print OUT "a";
close OUT;

All this should do since I'm just trying to get this to work is create a file 
called d:\a with the letter a in it.  This works fine from the command line.  
When I run apache, nothing happens.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org