diff --git a/intern/cycles/device/hiprt/device_impl.cpp b/intern/cycles/device/hiprt/device_impl.cpp index 2a4d3471f41..990d1218eab 100644 --- a/intern/cycles/device/hiprt/device_impl.cpp +++ b/intern/cycles/device/hiprt/device_impl.cpp @@ -100,7 +100,12 @@ HIPRTDevice::HIPRTDevice(const DeviceInfo &info, return; } - hiprtSetLogLevel(hiprtLogLevelNone); + if (VLOG_DEBUG_IS_ON) { + hiprtSetLogLevel(hiprtLogLevelInfo | hiprtLogLevelWarn | hiprtLogLevelError); + } + else { + hiprtSetLogLevel(hiprtLogLevelNone); + } } HIPRTDevice::~HIPRTDevice()