re #6669 syntax error
re #6669 remove doc block which is causing problems
re #6669 damn mixture of tabs and spaces
re #6669 damn mixture of tabs and spaces
re #6669 move it to the right place
re #6669 improve unit tests
re #6669 added a test for multiple logs