Logging for images