only logging for warnings