From b8632fad0dfad796f50d978e2172ee9fbf739a20 Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Wed, 14 Mar 2018 17:30:47 +0100 Subject: [PATCH] change level to warn until known cases not investigated (Content equals... warn) --- platform/configuration-store-impl/src/FileBasedStorage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/configuration-store-impl/src/FileBasedStorage.kt b/platform/configuration-store-impl/src/FileBasedStorage.kt index 10584400c14c..d61cdd75ac50 100644 --- a/platform/configuration-store-impl/src/FileBasedStorage.kt +++ b/platform/configuration-store-impl/src/FileBasedStorage.kt @@ -193,7 +193,7 @@ internal fun writeFile(file: Path?, requestor: Any, virtualFile: VirtualFile?, e if ((LOG.isDebugEnabled || ApplicationManager.getApplication().isUnitTestMode) && !FileUtilRt.isTooLarge(result.length)) { val content = element.toBufferExposingByteArray(lineSeparator.separatorString) if (isEqualContent(result, lineSeparator, content, prependXmlProlog)) { - LOG.error("Content equals, but it must be handled not on this level: file ${result.name}, content\n${content.toByteArray().toString(StandardCharsets.UTF_8)}") + LOG.warn("Content equals, but it must be handled not on this level: file ${result.name}, content\n${content.toByteArray().toString(StandardCharsets.UTF_8)}") } else if (DEBUG_LOG != null && ApplicationManager.getApplication().isUnitTestMode) { DEBUG_LOG = "${result.path}:\n$content\nOld Content:\n${LoadTextUtil.loadText(result)}"