ImageInfo: add flag to enable trace-level logging