summaryrefslogtreecommitdiffstats
path: root/base/common
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2017-05-16 01:43:33 +0200
committerEndi S. Dewata <edewata@redhat.com>2017-05-16 01:43:33 +0200
commit4557cd497ecc3c753461617dd8f10067a3815042 (patch)
tree66c7fbb7e8f7fbb0d32c7dbcd6a38f317eba6b95 /base/common
parentee5af05036e87a9dad821c9dd8bc0198dac9bd65 (diff)
downloadpki-4557cd497ecc3c753461617dd8f10067a3815042.tar.gz
pki-4557cd497ecc3c753461617dd8f10067a3815042.tar.xz
pki-4557cd497ecc3c753461617dd8f10067a3815042.zip
Added log messages for server shutdown.
Some log messages have been added to help troubleshoot the cause of server shutdown. Change-Id: Ie2a91647a0986fdb11cafed2aec48cce208ef1a2
Diffstat (limited to 'base/common')
-rw-r--r--base/common/src/com/netscape/certsrv/apps/CMS.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/apps/CMS.java b/base/common/src/com/netscape/certsrv/apps/CMS.java
index 8f1d648cc..cc634cc08 100644
--- a/base/common/src/com/netscape/certsrv/apps/CMS.java
+++ b/base/common/src/com/netscape/certsrv/apps/CMS.java
@@ -1627,6 +1627,8 @@ public final class CMS {
// Raidzilla Bug #57592: Always print error message to stdout.
System.out.println(e);
+ CMS.debug("CMS.start(): shutdown server");
+
shutdown();
throw e;
@@ -1722,6 +1724,8 @@ public final class CMS {
ILogger.LL_INFO,
"CMSEngine: Received shutdown signal");
+ CMS.debug("CMS.main(): shutdown server");
+
CMS.shutdown();
};
});