WIP
Ready to use
Still need unit test (read the log file and check the log line) and the
same with console output