https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4976fba59e32a03113ed01...
commit 4976fba59e32a03113ed01da2aff8e181b1b0013 Author: Julio Carchi juliocarchi@yahoo.com AuthorDate: Sat Sep 9 14:28:19 2023 -0500 Commit: GitHub noreply@github.com CommitDate: Sat Sep 9 22:28:19 2023 +0300
[NTUSER] Reduce debug logging spam (#5661)
Silence two of the most debug log spammers in co_MsqSendMessage() and in co_IntProcessMouseMessage() by demoting ERR to WARN. --- win32ss/user/ntuser/msgqueue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/win32ss/user/ntuser/msgqueue.c b/win32ss/user/ntuser/msgqueue.c index 8c24de79853..7f308530749 100644 --- a/win32ss/user/ntuser/msgqueue.c +++ b/win32ss/user/ntuser/msgqueue.c @@ -1263,7 +1263,7 @@ co_MsqSendMessage(PTHREADINFO ptirec, Entry = Entry->Flink; }
- ERR("MsqSendMessage timed out 2 Status %lx\n", WaitStatus); + WARN("MsqSendMessage timed out 2 Status %lx\n", WaitStatus); break; } // Receiving thread passed on and left us hanging with issues still pending. @@ -1535,7 +1535,7 @@ BOOL co_IntProcessMouseMessage(MSG* msg, BOOL* RemoveMessages, BOOL* NotForUs, L } else { - ERR("Not the same cursor!\n"); + WARN("Not the same cursor!\n"); }
msg->hwnd = UserHMGetHandle(pwndMsg);