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

http://issues.apache.org/bugzilla/show_bug.cgi?id=28500

Error in apache2splitlogfile

           Summary: Error in apache2splitlogfile
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Other Modules
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Hello. Line 109 of apache2splitlogfile has an error. Lines 108 and 109 are as 
follows:

    open LOGFILE, ">>$filename"
            or die ("Can't open $logs/$filename");

Line 109 should just say "Can't open $filename"; it should not include "$logs" 
in the string. This is 
because of line 104, which reads:

    $filename="$logs/VLOG-$date-${vhost}.log";

See? $logs is already part of $filename.

As a result, my error log has paths in it which are confusing, because the 
directory part is printed twice. 
This perhaps leads me to incorrect conclusions about the source of my 
misconfiguration.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to