revised logging messages to be more clear