You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/11/10 15:22:21 UTC

[commons-daemon] branch master updated: Add scale when logging dwWaitHint.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-daemon.git


The following commit(s) were added to refs/heads/master by this push:
     new 46e461f  Add scale when logging dwWaitHint.
46e461f is described below

commit 46e461f3149f291c09a7305c2345140ecbbed942
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Nov 10 10:22:19 2021 -0500

    Add scale when logging dwWaitHint.
---
 src/native/windows/src/service.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/native/windows/src/service.c b/src/native/windows/src/service.c
index 078d153..a2fa79e 100644
--- a/src/native/windows/src/service.c
+++ b/src/native/windows/src/service.c
@@ -577,7 +577,7 @@ apxServiceControl(APXHANDLE hService, DWORD dwControl, UINT uMsg,
         } else {
             apxLogWrite(APXLOG_MARK_ERROR
                 "apxServiceControl(): dwState(%d = %s) != dwCurrentState(%d = %s); "
-                "dwWin32ExitCode = %d, dwWaitHint = %d, dwServiceSpecificExitCode = %d",
+                "dwWin32ExitCode = %d, dwWaitHint = %d millseconds, dwServiceSpecificExitCode = %d",
                 dwState,
                 apxServiceGetStateName(dwState),
                 stStatus.dwCurrentState,
@@ -631,7 +631,7 @@ apxServiceCheckStop(APXHANDLE hService)
         } else {
             apxLogWrite(APXLOG_MARK_DEBUG
                 "apxServiceCheckStop(): dwState(%d) != dwCurrentState(%d); "
-                "dwWin32ExitCode = %d, dwWaitHint = %d, dwServiceSpecificExitCode = %d",
+                "dwWin32ExitCode = %d, dwWaitHint = %d milliseconds, dwServiceSpecificExitCode = %d",
                 dwState,
                 stStatus.dwCurrentState,
                 stStatus.dwWin32ExitCode,