diff options
author | Matthew Harmsen <mharmsen@redhat.com> | 2014-06-24 17:42:48 -0700 |
---|---|---|
committer | Matthew Harmsen <mharmsen@redhat.com> | 2014-06-25 13:57:57 -0700 |
commit | 532137ef51d0a4b422b6b9c73f9449e0f9dce6ee (patch) | |
tree | ff586a2c074ca237f916314baf8b1b88341c32d0 | |
parent | 33c8ea3702ae39b193c7f9f6759e3c66c9681b0e (diff) | |
download | pki-532137ef51d0a4b422b6b9c73f9449e0f9dce6ee.tar.gz pki-532137ef51d0a4b422b6b9c73f9449e0f9dce6ee.tar.xz pki-532137ef51d0a4b422b6b9c73f9449e0f9dce6ee.zip |
Swap numeric values of OBNOXIOUS and INFO debug logging for correctness
* PKI TRAC Ticket #898 - Giant /var/log/pki-ca/debug
-rw-r--r-- | base/common/src/com/netscape/certsrv/apps/CMS.java | 4 | ||||
-rw-r--r-- | base/server/cmscore/src/com/netscape/cmscore/util/Debug.java | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/base/common/src/com/netscape/certsrv/apps/CMS.java b/base/common/src/com/netscape/certsrv/apps/CMS.java index fbcf65ac0..63c1a2cbd 100644 --- a/base/common/src/com/netscape/certsrv/apps/CMS.java +++ b/base/common/src/com/netscape/certsrv/apps/CMS.java @@ -113,9 +113,9 @@ import com.netscape.cmsutil.password.IPasswordStore; */ public final class CMS { - public static final int DEBUG_OBNOXIOUS = 10; + public static final int DEBUG_OBNOXIOUS = 1; public static final int DEBUG_VERBOSE = 5; - public static final int DEBUG_INFORM = 1; + public static final int DEBUG_INFORM = 10; private static final String CONFIG_FILE = "CS.cfg"; private static ICMSEngine _engine = null; diff --git a/base/server/cmscore/src/com/netscape/cmscore/util/Debug.java b/base/server/cmscore/src/com/netscape/cmscore/util/Debug.java index bd10a493c..036573467 100644 --- a/base/server/cmscore/src/com/netscape/cmscore/util/Debug.java +++ b/base/server/cmscore/src/com/netscape/cmscore/util/Debug.java @@ -52,9 +52,9 @@ public class Debug } public static final boolean ON = false; - public static final int OBNOXIOUS = 10; + public static final int OBNOXIOUS = 1; public static final int VERBOSE = 5; - public static final int INFORM = 1; + public static final int INFORM = 10; // the difference between this and 'ON' is that this is always // guaranteed to log to 'mOut', whereas other parts of the server @@ -261,9 +261,9 @@ public class Debug * Set the current debugging level. You can use: * * <pre> - * OBNOXIOUS = 10 + * OBNOXIOUS = 1 * VERBOSE = 5 - * INFORM = 1 + * INFORM = 10 * </pre> * * Or another value |