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 2004/04/20 16:25:50 UTC

DO NOT REPLY [Bug 28500] New: - Error in apache2splitlogfile

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: bugs@httpd.apache.org
        ReportedBy: apache-bugs-2004@ryandesign.com


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org