ezpaarse-project / ezpaarse

ezPAARSE can ingest your (proxy) log files and show how users access suscribed electronic ressources.
http://www.ezpaarse.org
Other
70 stars 27 forks source link

lib/bin/ecbulkmaker is bypassing valid log files #27

Closed a-cordier closed 8 years ago

a-cordier commented 8 years ago

With a source directory containing files like " ezproxy.log-20141231.gz" the regex used to detect whether the file should be processed or not does not match

a-cordier commented 8 years ago

In this proper situation with /^.*(.gz|.log)$/.test(file) we get a match

nojhamster commented 8 years ago

Thanks for pointing this out, it should handle .log, .log.gz and .gz now :)