Commit ea4376d0 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Ignore Apache log formats which are not supported.

parent 6f71bffe
......@@ -1334,7 +1334,9 @@ def main():
key += n()
elif fmt == '>':
key += n()
char = logformat_dict[key]
# XXX: Consider unknown fields have no whitespaces (ie, support for
# quotes)
char = logformat_dict.get(key, r'\S*')
expensive_char = expensive_logformat_dict.get(key, char)
line_regex += char
expensive_line_regex += expensive_char
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment