improve logging message