To help troubleshooting the debug log in UpdateNumberRange servlet has been modified to show the exception stack trace.
https://fedorahosted.org/pki/ticket/2436 Pushed to master (10.4) under one-liner/trivial rule. -- Endi S. Dewata
>From 1922f77e825c8c0ec742382b752b0a32afbff8a9 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" <edew...@redhat.com> Date: Wed, 31 Aug 2016 16:15:19 +0200 Subject: [PATCH] Fixed debug log in UpdateNumberRange servlet. To help troubleshooting the debug log in UpdateNumberRange servlet has been modified to show the exception stack trace. https://fedorahosted.org/pki/ticket/2436 --- .../cms/src/com/netscape/cms/servlet/csadmin/UpdateNumberRange.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/server/cms/src/com/netscape/cms/servlet/csadmin/UpdateNumberRange.java b/base/server/cms/src/com/netscape/cms/servlet/csadmin/UpdateNumberRange.java index b99a298a9b8a6f18b047d7e14bd8f76e16a36ec6..e068bd4941ca244ed46e606874cb3a999cd5141b 100644 --- a/base/server/cms/src/com/netscape/cms/servlet/csadmin/UpdateNumberRange.java +++ b/base/server/cms/src/com/netscape/cms/servlet/csadmin/UpdateNumberRange.java @@ -247,7 +247,8 @@ public class UpdateNumberRange extends CMSServlet { audit(auditMessage); } catch (Exception e) { - CMS.debug("UpdateNumberRange: Failed to update number range. Exception: " + e.toString()); + CMS.debug("UpdateNumberRange: Failed to update number range: " + e); + CMS.debug(e); auditMessage = CMS.getLogMessage( LOGGING_SIGNED_AUDIT_CONFIG_SERIAL_NUMBER, -- 2.5.5
_______________________________________________ Pki-devel mailing list Pki-devel@redhat.com https://www.redhat.com/mailman/listinfo/pki-devel