Make logged messages slightly more informative.
Remove trailing whitespace.