log using %r instead of repr()

this is just an appearance issue really, and removes a few newlines