Parse log entries and return a dictionary.
Slave cleanup, test client and python3 support.