Apache2Piwik
Apache2Piwik copied to clipboard
Have a way to ignore some paramaters in LOG_FORMAT
I have some logs that have the following format :
LOG_FORMAT = "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" "%{Accept}i" "%{Accept-Encoding}i" "%{Accept-Language}i" "
I get a traceback ::
Traceback (most recent call last):
File "apache2piwik.py", line 88, in
It would be nice to take into account all possibilities from https://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats or have a way to say "this part you can ignore".