Fix log function reading latest.log twice and not reading gzipped logfiles
Improve update_whitelist behavior for lazyjson 2