imaging: improve logging