log: cache the message into a stringstream, microopti
Parser: avoid parsing the file 100 times
Small fixes everywhere. Improve readability (not perf)