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

markt 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 4d83d06  Fix https://issues.apache.org/jira/browse/DAEMON-297
4d83d06 is described below

commit 4d83d06afe8d41dde1bf2caddf9e646ccf5f640a
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Jun 14 16:46:27 2019 +0100

    Fix https://issues.apache.org/jira/browse/DAEMON-297
    
    Include the full path to the jsvc executable in the debug log.
---
 src/changes/changes.xml            | 3 +++
 src/native/unix/native/arguments.c | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index e89408c..79e6798 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -131,6 +131,9 @@
         for JavaHome and RuntimeLib are not present, attempt to use the Procrun
         JavaHome key to find the runtime library.
       </action>
+      <action issue="DAEMON-297" type="add" dev="markt">
+        jsvc. Include the full path to the jsvc executable in the debug log.
+      </action>
     </release>
     <release version="1.1.0" date="2017-11-15" description="Feature and bug 
fix release">
       <action issue="DAEMON-368" type="add" dev="ggregory">
diff --git a/src/native/unix/native/arguments.c 
b/src/native/unix/native/arguments.c
index 0fef27a..924b73a 100644
--- a/src/native/unix/native/arguments.c
+++ b/src/native/unix/native/arguments.c
@@ -491,7 +491,8 @@ arg_data *arguments(int argc, char *argv[])
     }
 
     if (log_debug_flag == true) {
-        log_debug("+-- DUMPING PARSED COMMAND LINE ARGUMENTS --------------");
+        log_debug("+-- DUMPING PARSED COMMAND AND ARGUMENTS ---------------");
+        log_debug("| Executable:      %s", PRINT_NULL(argv[0]));
         log_debug("| Detach:          %s", IsTrueFalse(args->dtch));
         log_debug("| Show Version:    %s", IsYesNo(args->vers));
         log_debug("| Show Help:       %s", IsYesNo(args->help));

Reply via email to