changed some logging messages.