diff options
Diffstat (limited to 'pki/base/common/src/com/netscape/cmscore/logging/SignedAuditEventFactory.java')
-rw-r--r-- | pki/base/common/src/com/netscape/cmscore/logging/SignedAuditEventFactory.java | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/pki/base/common/src/com/netscape/cmscore/logging/SignedAuditEventFactory.java b/pki/base/common/src/com/netscape/cmscore/logging/SignedAuditEventFactory.java index d66094cb8..970516c1e 100644 --- a/pki/base/common/src/com/netscape/cmscore/logging/SignedAuditEventFactory.java +++ b/pki/base/common/src/com/netscape/cmscore/logging/SignedAuditEventFactory.java @@ -17,6 +17,7 @@ // --- END COPYRIGHT BLOCK --- package com.netscape.cmscore.logging; + import java.util.Properties; import com.netscape.certsrv.logging.IBundleLogEvent; @@ -26,11 +27,12 @@ import com.netscape.certsrv.logging.ILogger; import com.netscape.certsrv.logging.SignedAuditEvent; import com.netscape.cmscore.util.Debug; + /** * A log event object for handling system messages * <P> - * - * @author mikep + * + * @author mikep * @author mzhao * @author cfu * @version $Revision$, $Date$ @@ -50,7 +52,7 @@ public class SignedAuditEventFactory implements ILogEventFactory { /** * Creates an log event. - * + * * @param evtClass the event type * @param prop the resource bundle * @param source the subsystem ID who creates the log event @@ -58,9 +60,10 @@ public class SignedAuditEventFactory implements ILogEventFactory { * @param multiline the log message has more than one line or not * @param msg the detail message of the log * @param params the parameters in the detail log message + */ public ILogEvent create(int evtClass, Properties prop, int source, - int level, boolean multiline, String msg, Object params[]) { + int level, boolean multiline, String msg, Object params[]) { if (evtClass != ILogger.EV_SIGNED_AUDIT) return null; @@ -76,8 +79,7 @@ public class SignedAuditEventFactory implements ILogEventFactory { eventType = typeMessage.substring(typeBegin + 6, colon); message = typeMessage.substring(colon + 2); - Debug.trace("SignedAuditEventFactory: create() message=" + message - + "\n"); + Debug.trace("SignedAuditEventFactory: create() message=" + message + "\n"); } else { // no type specified @@ -99,8 +101,8 @@ public class SignedAuditEventFactory implements ILogEventFactory { /** * Set the resource bundle of the log event. - * - * @param prop the properties + * + * @param prop the properties * @param event the log event */ protected void setProperties(Properties prop, IBundleLogEvent event) { @@ -117,7 +119,7 @@ public class SignedAuditEventFactory implements ILogEventFactory { /** * Releases an log event. - * + * * @param e the log event */ public void release(ILogEvent e) { |