I found out that there is a bug in handling %host_r LogFormat key that results in dropping seemingly random records when SkipHosts config parameter is defined.
Reason: $pos_hostr is initialized to value -1 but in SkipHosts testing it is only compared to be true to have an effect.
Result: If %host_r is NOT included in LogFormat string then SkipHosts regexps are tested also against second to last field in LogFormat.
Patch fixes also similar bug in OnlyHosts handling.
Log in to post a comment.