improved logging message