commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (DAEMON-175) Document procrun exit codes
Date Mon, 27 Sep 2010 10:33:35 GMT
Document procrun exit codes
---------------------------

                 Key: DAEMON-175
                 URL: https://issues.apache.org/jira/browse/DAEMON-175
             Project: Commons Daemon
          Issue Type: Improvement
          Components: Procrun
            Reporter: Sebb
             Fix For: 1.0.3


There does not seem to be any documentation of what the different procrun exit codes mean.

I think it would be useful to log a textual exit message as well as the numeric code, for
example:

{code}
if (someerror) {
    rv = 123;
    rm = "Someerror occurred";
}
...
if (rv)
    apxLogWrite(APXLOG_MARK_ERROR "Commons Daemon procrun failed "
                           "with exit value: %d - %s", rv, rm);

The numeric exit codes should also be documented somewhere.
...
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message