Bug 56329 - split-logfile doesn't work
Summary: split-logfile doesn't work
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: support (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FixedInTrunk, PatchAvailable
Depends on:
Blocks:
 
Reported: 2014-03-28 20:38 UTC by Holger Mauermann
Modified: 2015-01-23 09:08 UTC (History)
2 users (show)



Attachments
Patch (845 bytes, patch)
2014-03-28 20:38 UTC, Holger Mauermann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Mauermann 2014-03-28 20:38:16 UTC
Created attachment 31457 [details]
Patch

split-logfile fails with an error message:

$ split-logfile < other_vhosts_access.log
Can't use string ("example.org:80") as a symbol ref while "strict refs" in use at /usr/sbin/split-logfile line 58, <STDIN> line 1.

Attached patch fixes this issue.
Comment 1 Yannick WEBER 2014-12-31 14:58:25 UTC
Apache's 2.4 is also concerned by this issue.

I've successfully applied the patch to my Apache-2.4.10 installation.

I really don't understand why that patch isn't applied to the latest 2.4 branch release.

Can someone make me understand please ?

Thank your per advance

Regards
Comment 2 Eric Covener 2014-12-31 15:39:35 UTC
Thanks Holger (and yweb). Committed to trunk in r1648719 and will propose for backport shortly.
Comment 3 Yannick WEBER 2014-12-31 16:48:07 UTC
Thanks Eric for your fast and accurate response.


We want all the best for our favorite web server...
Comment 4 Yann Ylavic 2015-01-23 09:08:45 UTC
Backported to 2.4.11 in r1651095.