The Apache logs no longer contain referrer and agent. Here is an example log
line from the latest access logs:
String testLogLine = "198.118.243.84 - - [31/Dec/2017:23:59:20 +0000] \"GET
/events?page=12&%25252525252525252525252525252525252525253Bsort=asc&order=field_location&sort=desc
HTTP/1.1\" 200 86173";
This does not match the pattern
https://github.com/apache/incubator-sdap-mudrod/blob/faac228e88ebdb9fbd8e134f8550d5dc16738a71/core/src/main/java/org/apache/sdap/mudrod/weblog/structure/log/ApacheAccessLog.java#L62
because of the last 2 groups at the end of that pattern:
> "((?:[^"]|")+)" "([^"]+)"
Those last two groups are used for Referer and browser/user agent and I think
are quite important for the log processing.
So far I've just written a unit test that fails with the example log line. I
need help from @lewismc or @quintinali to determine how this should be fixed.
[ Full content available at:
https://github.com/apache/incubator-sdap-mudrod/pull/32 ]
This message was relayed via gitbox.apache.org for [email protected]