Added more log messages.