Added meaningful log messages.