Fix some logging messages.