Changed logging style to be more readable.