commons-daemon.git
2 months agoTag 1.3.1-RC1 commons-daemon-1.3.1 commons-daemon-1.3.1-RC1
Mark Thomas [Tue, 3 May 2022 11:26:59 +0000 (12:26 +0100)] 
Tag 1.3.1-RC1

2 months agoRegenerate for 1.3.1 release
Mark Thomas [Tue, 3 May 2022 11:19:14 +0000 (12:19 +0100)] 
Regenerate for 1.3.1 release

2 months agoRegenerate for 1.3.1 release
Mark Thomas [Tue, 3 May 2022 11:16:05 +0000 (12:16 +0100)] 
Regenerate for 1.3.1 release

2 months agoRegenerate for 1.3.1 release
Mark Thomas [Tue, 3 May 2022 11:14:28 +0000 (12:14 +0100)] 
Regenerate for 1.3.1 release

2 months agoPreparing for 1.3.1 - add best guess for release date
Mark Thomas [Tue, 3 May 2022 11:11:32 +0000 (12:11 +0100)] 
Preparing for 1.3.1 - add best guess for release date

2 months agoAdd change log entry for #39
Mark Thomas [Tue, 3 May 2022 11:02:04 +0000 (12:02 +0100)] 
Add change log entry for #39

2 months agoAdd comments
Jean-Frederic Clere [Sun, 1 May 2022 08:47:25 +0000 (10:47 +0200)] 
Add comments

2 months agoUpdate rprocess.c
Jean-Frederic Clere [Mon, 21 Feb 2022 10:15:42 +0000 (11:15 +0100)] 
Update rprocess.c

Just remove extra '.' in debug message.

2 months agoFix for https://issues.redhat.com/browse/JBCS-1261:
Hudson [Thu, 17 Feb 2022 10:15:27 +0000 (10:15 +0000)] 
Fix for https://issues.redhat.com/browse/JBCS-1261:
Terminate child process that have been started by the service.

2 months agoAdd change log entry for #45
Mark Thomas [Fri, 29 Apr 2022 18:13:28 +0000 (19:13 +0100)] 
Add change log entry for #45

2 months agoUse switch instead of multiple if statement.
Arturo Bernal [Sun, 17 Apr 2022 19:03:07 +0000 (21:03 +0200)] 
Use switch instead of multiple if statement.

2 months agoBump github/codeql-action from 1 to 2
dependabot[bot] [Fri, 29 Apr 2022 16:05:13 +0000 (16:05 +0000)] 
Bump github/codeql-action from 1 to 2

Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 months agoDisplay text as well as code for associated error
Mark Thomas [Fri, 29 Apr 2022 16:29:03 +0000 (17:29 +0100)] 
Display text as well as code for associated error

2 months agoImprove error message to always explicitly report file path
Mark Thomas [Fri, 29 Apr 2022 16:18:40 +0000 (17:18 +0100)] 
Improve error message to always explicitly report file path

2 months agoFix DAEMON-442 - Increase limit on log message size from 1024 to 4096
Mark Thomas [Wed, 27 Apr 2022 12:35:35 +0000 (13:35 +0100)] 
Fix DAEMON-442 - Increase limit on log message size from 1024 to 4096

wsprintfW is limited to a buffer of size 1024. The switch to the newer
functions allows (much) larger buffers to be used. 4096 seems like a
reasonable limit.

2 months agoImprove error message for log path permission problems
Mark Thomas [Wed, 27 Apr 2022 09:11:30 +0000 (10:11 +0100)] 
Improve error message for log path permission problems

2 months agoMake it clearer defaults are being used.
Mark Thomas [Tue, 26 Apr 2022 14:16:54 +0000 (15:16 +0100)] 
Make it clearer defaults are being used.

2 months agoFix DAEMON-441. Avoid null pointer access if no log path is specified
Mark Thomas [Tue, 26 Apr 2022 14:15:20 +0000 (15:15 +0100)] 
Fix DAEMON-441. Avoid null pointer access if no log path is specified

This is the primary cause of DAEMON-441. The other commits for this
issue fixed various errors that masked this error to some degree.

2 months agoIntroduce a constant for the default log path
Mark Thomas [Tue, 26 Apr 2022 14:11:20 +0000 (15:11 +0100)] 
Introduce a constant for the default log path

2 months agoClear the error once logged
Mark Thomas [Tue, 26 Apr 2022 13:45:03 +0000 (14:45 +0100)] 
Clear the error once logged

2 months agoOnly log to a file when running as a service.
Mark Thomas [Tue, 26 Apr 2022 13:23:09 +0000 (14:23 +0100)] 
Only log to a file when running as a service.

2 months agoClear an expected error to prevent it polluting the log messages
Mark Thomas [Tue, 26 Apr 2022 13:08:21 +0000 (14:08 +0100)] 
Clear an expected error to prevent it polluting the log messages

2 months agoControl of logging level should work whether logging to stderr or a file
Mark Thomas [Tue, 26 Apr 2022 13:07:11 +0000 (14:07 +0100)] 
Control of logging level should work whether logging to stderr or a file

2 months agoCorrect action type
Mark Thomas [Tue, 26 Apr 2022 13:03:22 +0000 (14:03 +0100)] 
Correct action type

2 months agoBump actions/cache from 3 to 3.0.2
Gary Gregory [Tue, 12 Apr 2022 12:13:38 +0000 (08:13 -0400)] 
Bump actions/cache from 3 to 3.0.2

2 months agoBump commons-parent from 52 to 53 #44
Gary Gregory [Sun, 10 Apr 2022 12:22:07 +0000 (08:22 -0400)] 
Bump commons-parent from 52 to 53 #44

2 months agoBump commons-parent from 52 to 53 (#44)
dependabot[bot] [Sun, 10 Apr 2022 12:21:43 +0000 (08:21 -0400)] 
Bump commons-parent from 52 to 53 (#44)

Bumps commons-parent from 52 to 53.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-parent
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months agoBump actions/setup-java from 2 to 3 #43
Gary Gregory [Sun, 10 Apr 2022 12:21:33 +0000 (08:21 -0400)] 
Bump actions/setup-java from 2 to 3 #43

2 months agoBump actions/setup-java from 2 to 3 (#43)
dependabot[bot] [Sun, 10 Apr 2022 12:21:05 +0000 (08:21 -0400)] 
Bump actions/setup-java from 2 to 3 (#43)

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months agoBump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 #42
Gary Gregory [Sun, 10 Apr 2022 12:20:39 +0000 (08:20 -0400)] 
Bump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 #42

2 months agoBump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 (#42)
dependabot[bot] [Sun, 10 Apr 2022 12:20:01 +0000 (08:20 -0400)] 
Bump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0 (#42)

Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.5.3.0 to 4.6.0.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.5.3.0...spotbugs-maven-plugin-4.6.0.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months agoBump actions/cache from 2.1.7 to 3 #41
Gary Gregory [Fri, 25 Mar 2022 16:18:45 +0000 (09:18 -0700)] 
Bump actions/cache from 2.1.7 to 3 #41

3 months agoBump actions/cache from 2.1.7 to 3 (#41)
dependabot[bot] [Fri, 25 Mar 2022 16:17:32 +0000 (09:17 -0700)] 
Bump actions/cache from 2.1.7 to 3 (#41)

Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months agoRemove profile no longer needed now that we are on Java 7.
Gary Gregory [Tue, 15 Mar 2022 19:57:39 +0000 (15:57 -0400)] 
Remove profile no longer needed now that we are on Java 7.

3 months agoUpdate description for 1.3.0.
Gary Gregory [Tue, 15 Mar 2022 19:56:34 +0000 (15:56 -0400)] 
Update description for 1.3.0.

3 months agoUpdate version number to 1.3.1 for next development cycle
Mark Thomas [Tue, 15 Mar 2022 08:50:22 +0000 (08:50 +0000)] 
Update version number to 1.3.1 for next development cycle

3 months agoUpdate version on download page
Mark Thomas [Tue, 15 Mar 2022 08:38:32 +0000 (08:38 +0000)] 
Update version on download page

3 months agoAdd note on Maven version to use
Mark Thomas [Fri, 11 Mar 2022 16:51:42 +0000 (16:51 +0000)] 
Add note on Maven version to use

3 months agoUpdate generated files
Mark Thomas [Fri, 11 Mar 2022 11:46:27 +0000 (11:46 +0000)] 
Update generated files

3 months agoSet best guess of 1.3.0 release date to 1 week from today
Mark Thomas [Fri, 11 Mar 2022 11:42:29 +0000 (11:42 +0000)] 
Set best guess of 1.3.0 release date to 1 week from today

3 months agoUse try-with-resources.
Gary Gregory [Thu, 10 Mar 2022 22:23:09 +0000 (17:23 -0500)] 
Use try-with-resources.

3 months agoUse final.
Gary Gregory [Thu, 10 Mar 2022 22:20:16 +0000 (17:20 -0500)] 
Use final.

3 months agoFix DAEMON-439. Support --Startup=delayed on installation
Administrator [Thu, 10 Mar 2022 20:44:57 +0000 (20:44 +0000)] 
Fix DAEMON-439. Support --Startup=delayed on installation

It was supported on update but not on installation.

3 months agoRemove $Id$ now we use git rather than svn
Administrator [Thu, 10 Mar 2022 18:49:07 +0000 (18:49 +0000)] 
Remove $Id$ now we use git rather than svn

3 months agoTrace needs to be included in the log levels exposed by the GUI
Administrator [Thu, 10 Mar 2022 18:47:23 +0000 (18:47 +0000)] 
Trace needs to be included in the log levels exposed by the GUI

3 months agoCorrect function name
Administrator [Thu, 10 Mar 2022 17:48:13 +0000 (17:48 +0000)] 
Correct function name

3 months agoFix DAEMON-437. Grant service user access to log directory.
Administrator [Thu, 10 Mar 2022 17:16:27 +0000 (17:16 +0000)] 
Fix DAEMON-437. Grant service user access to log directory.

https://issues.apache.org/jira/browse/DAEMON-437

3 months agoMove to correct section.
Administrator [Thu, 10 Mar 2022 17:01:39 +0000 (17:01 +0000)] 
Move to correct section.

4 months agoTest on Windows too.
Gary Gregory [Fri, 4 Mar 2022 20:20:23 +0000 (15:20 -0500)] 
Test on Windows too.

4 months agoBump actions/checkout from 2 to 3 #40
Gary Gregory [Fri, 4 Mar 2022 20:13:46 +0000 (15:13 -0500)] 
Bump actions/checkout from 2 to 3 #40

4 months agoBump actions/checkout from 2 to 3 (#40)
dependabot[bot] [Fri, 4 Mar 2022 20:12:42 +0000 (15:12 -0500)] 
Bump actions/checkout from 2 to 3 (#40)

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 months agoReplace package with verify in the default goal.
Gary Gregory [Fri, 4 Mar 2022 14:46:10 +0000 (09:46 -0500)] 
Replace package with verify in the default goal.

4 months agoCopyright year update to 2022
Mark Thomas [Thu, 24 Feb 2022 18:09:33 +0000 (18:09 +0000)] 
Copyright year update to 2022

4 months agoUpdate version to 1.3.0 as minimum Java version has been updated to 1.7
Mark Thomas [Thu, 24 Feb 2022 17:36:49 +0000 (17:36 +0000)] 
Update version to 1.3.0 as minimum Java version has been updated to 1.7

4 months agoUpdate NOTICE file for 2022.
Gary Gregory [Fri, 4 Feb 2022 12:18:32 +0000 (07:18 -0500)] 
Update NOTICE file for 2022.

5 months agoAdd CodeQL GitHub workflow.
Gary Gregory [Thu, 3 Feb 2022 12:06:34 +0000 (07:06 -0500)] 
Add CodeQL GitHub workflow.

Add CPP.

5 months agoAdd CodeQL GitHub workflow.
Gary Gregory [Thu, 3 Feb 2022 11:58:45 +0000 (06:58 -0500)] 
Add CodeQL GitHub workflow.

TODO: native.

5 months agoAdd a log warning.
Gary Gregory [Thu, 3 Feb 2022 11:52:50 +0000 (06:52 -0500)] 
Add a log warning.

5 months agoRegenerate README in preparation for 1.2.5
Mark Thomas [Thu, 27 Jan 2022 19:39:34 +0000 (19:39 +0000)] 
Regenerate README in preparation for 1.2.5

5 months agoRegenerate download page in preparation for 1.2.5
Mark Thomas [Thu, 27 Jan 2022 19:37:34 +0000 (19:37 +0000)] 
Regenerate download page in preparation for 1.2.5

5 months agoAdd date for 1.2.4
Mark Thomas [Thu, 27 Jan 2022 19:35:09 +0000 (19:35 +0000)] 
Add date for 1.2.4

5 months agoBest guess for 1.2.5 release date
Mark Thomas [Thu, 27 Jan 2022 19:31:13 +0000 (19:31 +0000)] 
Best guess for 1.2.5 release date

5 months agoFix DAEMON-437 - only redirect stdout/stderr for a running service
Mark Thomas [Thu, 27 Jan 2022 18:56:23 +0000 (18:56 +0000)] 
Fix DAEMON-437 - only redirect stdout/stderr for a running service

https://issues.apache.org/jira/projects/DAEMON/issues/DAEMON-437

5 months agoClarify changes that only apply to Procrun
Mark Thomas [Thu, 27 Jan 2022 18:50:56 +0000 (18:50 +0000)] 
Clarify changes that only apply to Procrun

5 months agoyear++
Mark Thomas [Thu, 27 Jan 2022 15:30:28 +0000 (15:30 +0000)] 
year++

5 months agoUpdate to CMSC 15.0.44
Mark Thomas [Thu, 27 Jan 2022 15:29:15 +0000 (15:29 +0000)] 
Update to CMSC 15.0.44

5 months agoEnable the build to compile with older versions of visual studio
Mark Thomas [Thu, 27 Jan 2022 15:25:23 +0000 (15:25 +0000)] 
Enable the build to compile with older versions of visual studio

TL;DR we use an older version of visual studio to compile release builds
For the long version, see windows/README.txt

5 months agoFix comment typo
Mark Thomas [Mon, 17 Jan 2022 11:53:03 +0000 (11:53 +0000)] 
Fix comment typo

5 months agoBump spotbugs-maven-plugin from 4.5.2.0 to 4.5.3.0
dependabot[bot] [Fri, 7 Jan 2022 16:07:18 +0000 (16:07 +0000)] 
Bump spotbugs-maven-plugin from 4.5.2.0 to 4.5.3.0

Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.5.2.0 to 4.5.3.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.5.2.0...spotbugs-maven-plugin-4.5.3.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
5 months agoRemove comments from code for Java 1.4, 1.5 & 1.6 now Java 7 is the min
Mark Thomas [Mon, 17 Jan 2022 10:43:56 +0000 (10:43 +0000)] 
Remove comments from code for Java 1.4, 1.5 & 1.6 now Java 7 is the min

5 months agoRemove empty Javadoc block
Mark Thomas [Mon, 17 Jan 2022 10:39:20 +0000 (10:39 +0000)] 
Remove empty Javadoc block

5 months agoFix comment typos
Mark Thomas [Mon, 17 Jan 2022 10:39:03 +0000 (10:39 +0000)] 
Fix comment typos

5 months agoRemove out-dated comment
Mark Thomas [Mon, 17 Jan 2022 10:38:37 +0000 (10:38 +0000)] 
Remove out-dated comment

5 months agoFix IDE warnings triggered by switch to minimum Java version of Java 7
Mark Thomas [Mon, 17 Jan 2022 10:24:49 +0000 (10:24 +0000)] 
Fix IDE warnings triggered by switch to minimum Java version of Java 7

6 months agoRun dependabot once a week.
Gary Gregory [Wed, 29 Dec 2021 17:02:03 +0000 (12:02 -0500)] 
Run dependabot once a week.

6 months agoDrop obsolete Travis build.
Gary Gregory [Thu, 23 Dec 2021 13:51:01 +0000 (08:51 -0500)] 
Drop obsolete Travis build.

6 months agoBump actions/cache from 2.1.6 to 2.1.7 #36.
Gary Gregory [Wed, 22 Dec 2021 17:03:15 +0000 (12:03 -0500)] 
Bump actions/cache from 2.1.6 to 2.1.7 #36.

6 months agoBump spotbugs-maven-plugin from 4.4.2.2 to 4.5.2.0 #37.
Gary Gregory [Wed, 22 Dec 2021 17:02:45 +0000 (12:02 -0500)] 
Bump spotbugs-maven-plugin from 4.4.2.2 to 4.5.2.0 #37.

6 months agoBump actions/cache from 2.1.6 to 2.1.7 (#36)
dependabot[bot] [Wed, 22 Dec 2021 17:01:23 +0000 (12:01 -0500)] 
Bump actions/cache from 2.1.6 to 2.1.7 (#36)

Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 months agoBump spotbugs-maven-plugin from 4.4.2.2 to 4.5.2.0 (#37)
dependabot[bot] [Wed, 22 Dec 2021 17:00:48 +0000 (12:00 -0500)] 
Bump spotbugs-maven-plugin from 4.4.2.2 to 4.5.2.0 (#37)

Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.4.2.2 to 4.5.2.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.4.2.2...spotbugs-maven-plugin-4.5.2.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months agoAdd logging when failing to set the options of a service.
Gary Gregory [Thu, 11 Nov 2021 16:18:05 +0000 (11:18 -0500)] 
Add logging when failing to set the options of a service.

7 months agoAdd logging when failing to obtain a service's description from the
Gary Gregory [Thu, 11 Nov 2021 16:09:02 +0000 (11:09 -0500)] 
Add logging when failing to obtain a service's description from the
registry.

7 months agoBetter log message alignment.
Gary Gregory [Thu, 11 Nov 2021 13:39:35 +0000 (08:39 -0500)] 
Better log message alignment.

7 months agoLog the prunsrv function names at the Trace level.
Gary Gregory [Thu, 11 Nov 2021 13:36:32 +0000 (08:36 -0500)] 
Log the prunsrv function names at the Trace level.

7 months agoMatch function name in log message to actual function.
Gary Gregory [Wed, 10 Nov 2021 15:28:45 +0000 (10:28 -0500)] 
Match function name in log message to actual function.

7 months agoMiscellaneous logging improvements.
Gary Gregory [Wed, 10 Nov 2021 15:24:21 +0000 (10:24 -0500)] 
Miscellaneous logging improvements.

7 months agoAdd scale when logging dwWaitHint.
Gary Gregory [Wed, 10 Nov 2021 15:22:19 +0000 (10:22 -0500)] 
Add scale when logging dwWaitHint.

7 months agoMatch function name in log message to actual function.
Gary Gregory [Wed, 10 Nov 2021 14:40:29 +0000 (09:40 -0500)] 
Match function name in log message to actual function.

7 months agoClearer logging in apxJavaWait().
Gary Gregory [Wed, 10 Nov 2021 14:05:12 +0000 (09:05 -0500)] 
Clearer logging in apxJavaWait().

7 months agoTypo in log message, TLA should be in upper case.
Gary Gregory [Wed, 10 Nov 2021 13:52:12 +0000 (08:52 -0500)] 
Typo in log message, TLA should be in upper case.

7 months agoAdd constant for Trace level.
Gary Gregory [Wed, 10 Nov 2021 13:48:37 +0000 (08:48 -0500)] 
Add constant for Trace level.

7 months agoDisplay service status name along the code.
Gary Gregory [Wed, 10 Nov 2021 13:47:47 +0000 (08:47 -0500)] 
Display service status name along the code.

7 months agoRefactor getting a name for a service status state into a function.
Gary Gregory [Wed, 10 Nov 2021 13:40:57 +0000 (08:40 -0500)] 
Refactor getting a name for a service status state into a function.

Better API name.

7 months agoRefactor getting a name for a service status state into a function.
Gary Gregory [Wed, 10 Nov 2021 13:34:34 +0000 (08:34 -0500)] 
Refactor getting a name for a service status state into a function.

Reuse is forthcoming.

7 months agoRefactor common call sites into a utility method.
Gary Gregory [Fri, 5 Nov 2021 20:22:48 +0000 (16:22 -0400)] 
Refactor common call sites into a utility method.

7 months agoSlightly better local variable name.
Gary Gregory [Fri, 5 Nov 2021 19:52:26 +0000 (15:52 -0400)] 
Slightly better local variable name.

7 months agoSlightly better local variable name.
Gary Gregory [Fri, 5 Nov 2021 19:49:33 +0000 (15:49 -0400)] 
Slightly better local variable name.

7 months agoLog at Trace instead of Debug when a service reports its state from the
Gary Gregory [Fri, 5 Nov 2021 13:32:06 +0000 (09:32 -0400)] 
Log at Trace instead of Debug when a service reports its state from the
prunsrv app.

This avoids the Debug log filling up as it adds two events per minute.
You can then stay in Debug logging to capture register, start, stop, and
unregister Debug events.

7 months agoAdd support for a new log level called Trace, lower-level than Debug.
Gary Gregory [Fri, 5 Nov 2021 13:10:03 +0000 (09:10 -0400)] 
Add support for a new log level called Trace, lower-level than Debug.

7 months agoComment a function; make it slightly less verbose.
Gary Gregory [Fri, 5 Nov 2021 13:00:26 +0000 (09:00 -0400)] 
Comment a function; make it slightly less verbose.