Feature/issue 168 log format

@march44 can you look at this PR?