From 3ee25985334dda432ec4775cba44239f398455e9 Mon Sep 17 00:00:00 2001 From: Forest Date: Mon, 5 Apr 2021 23:10:54 -0700 Subject: Reduce log level of harmless failures These two messages (along with their glaring red X icons) are cluttering up the log on linux/wine systems, misleading people who are trying to diagnose real problems. Let's reduce their log priority to make it clear that they're harmless. As mentioned here: https://github.com/ModOrganizer2/modorganizer/issues/372#issuecomment-575231673 --- src/envmodule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/envmodule.cpp') diff --git a/src/envmodule.cpp b/src/envmodule.cpp index dc6608d7..5b1e7621 100644 --- a/src/envmodule.cpp +++ b/src/envmodule.cpp @@ -130,7 +130,7 @@ Module::FileInfo Module::getFileInfo() const return {}; } - log::error( + log::debug( "GetFileVersionInfoSizeW() failed on '{}', {}", m_path, formatSystemMessage(e)); @@ -268,7 +268,7 @@ QDateTime Module::getTimestamp(const VS_FIXEDFILEINFO& fi) const if (h.get() == INVALID_HANDLE_VALUE) { const auto e = GetLastError(); - log::error( + log::debug( "can't open file '{}' for timestamp, {}", m_path, formatSystemMessage(e)); -- cgit v1.3.1