Improve log messages.

Refs #6070