[0.4.14][SHELL32] Demote 2 noisy goodpath loggings to TRACE CORE-17216
authorJoachim Henze <Joachim.Henze@reactos.org>
Sat, 22 Aug 2020 22:35:02 +0000 (00:35 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Tue, 27 Oct 2020 22:48:21 +0000 (23:48 +0100)
Those 2 did spam heavily when browsing folders with
many .zip files within. Mark Jansen confirmed that
this is good-path-logging and was just forgotten
to be disabled earlier. They were introduced by 0.4.14-RC-16-g
e13ff4aeb80f25dbe10418843719f507f98fa668

fix picked from commit 0.4.15-dev-628-g
f363c27ab483da5530120aa53b96aa744b5a99f9

which means we have no affected release branches left anymore.

dll/win32/shell32/folders/CFSFolder.cpp

index 918ba8f..4ccb92e 100644 (file)
@@ -645,14 +645,14 @@ HRESULT SHELL32_GetFSItemAttributes(IShellFolder * psf, LPCITEMIDLIST pidl, LPDW
                     Status = SHRegGetValueW(hkey, NULL, L"Attributes", RRF_RT_REG_DWORD, NULL, &dwAttributes, &dwSize);
                     if (Status == STATUS_SUCCESS)
                     {
-                        ERR("Augmenting '%S' with dwAttributes=0x%x\n", szFileName, dwAttributes);
+                        TRACE("Augmenting '%S' with dwAttributes=0x%x\n", szFileName, dwAttributes);
                         dwShellAttributes |= dwAttributes;
                     }
                     ::RegCloseKey(hkey);
 
                     // This should be presented as directory!
                     bDirectory = TRUE;
-                    ERR("Treating '%S' as directory!\n", szFileName);
+                    TRACE("Treating '%S' as directory!\n", szFileName);
                 }
             }
         }