Added log messages.