https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f363c27ab483da5530120aa53b96aa744b5a99f9

commit f363c27ab483da5530120aa53b96aa744b5a99f9
Author:     Joachim Henze <[email protected]>
AuthorDate: Sun Aug 23 00:35:02 2020 +0200
Commit:     Joachim Henze <[email protected]>
CommitDate: Sun Aug 23 00:35:02 2020 +0200

    [SHELL32] Demote 2 noisy goodpath loggings to TRACE CORE-17216
    
    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.
---
 dll/win32/shell32/folders/CFSFolder.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dll/win32/shell32/folders/CFSFolder.cpp 
b/dll/win32/shell32/folders/CFSFolder.cpp
index 9aa8281daa4..6adaba0d47c 100644
--- a/dll/win32/shell32/folders/CFSFolder.cpp
+++ b/dll/win32/shell32/folders/CFSFolder.cpp
@@ -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);
                 }
             }
         }

Reply via email to