Class SignedAuditLogger
java.lang.Object
com.netscape.cms.logging.Logger
com.netscape.cms.logging.SignedAuditLogger
-
Field Summary
FieldsFields inherited from class com.netscape.cms.logging.Logger
mFactories, mLogger, mLogQueueFields inherited from interface com.netscape.certsrv.logging.ILogger
EV_AUDIT, EV_SIGNED_AUDIT, FAILURE, L_MULTILINE, L_SINGLELINE, LL_ALL, LL_ALL_STRING, LL_CATASTRPHE, LL_CATASTRPHE_STRING, LL_DEBUG, LL_DEBUG_STRING, LL_FAILURE, LL_FAILURE_STRING, LL_INFO, LL_INFO_STRING, LL_MISCONF, LL_MISCONF_STRING, LL_SECURITY, LL_SECURITY_STRING, LL_WARN, LL_WARN_STRING, NONROLEUSER, NT_ERROR, NT_INFO, NT_WARN, PROP_AUDIT, PROP_SIGNED_AUDIT, PROP_SYSTEM, S_ACLS, S_ADMIN, S_ALL, S_AUTHENTICATION, S_AUTHORIZATION, S_CA, S_DB, S_HTTP, S_KRA, S_LDAP, S_OCSP, S_OTHER, S_RA, S_REQQUEUE, S_SIGNED_AUDIT, S_TKS, S_TPS, S_USRGRP, S_XCERT, SIGNED_AUDIT_ACCEPTANCE, SIGNED_AUDIT_CANCELLATION, SIGNED_AUDIT_EMPTY_VALUE, SIGNED_AUDIT_NON_APPLICABLE, SIGNED_AUDIT_REJECTION, SUCCESS, SYSTEM_UID, UNIDENTIFIED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SignedAuditLoggervoidlog(LogCategory category, LogSource source, int level, String message, Object[] params, boolean multiline) Logs an event to the log queue.voidvoidupdate(LogEvent event, LogSource source, int level, String message, Object[] params, boolean multiline) Updates a log event.
-
Field Details
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
SignedAuditLogger
public SignedAuditLogger()
-
-
Method Details
-
getLogger
-
log
public void log(LogCategory category, LogSource source, int level, String message, Object[] params, boolean multiline) Description copied from class:LoggerLogs an event to the log queue.- Overrides:
login classLogger- Parameters:
category- What kind of event it is: EV_AUDIT or EV_SYSTEM.source- the source of the log eventlevel- the level of the log eventmessage- the one line detail message to be loggedparams- the parameters in the detail messagemultiline- true if the message has more than one line, otherwise false
-
log
-
update
public void update(LogEvent event, LogSource source, int level, String message, Object[] params, boolean multiline) Description copied from class:LoggerUpdates a log event.- Overrides:
updatein classLogger- Parameters:
event- The event to be updated.source- The subsystem who creates the log event.level- The severity of the log event.message- The detail message of the log.params- The parameters in the detail log message.multiline- The log message has more than one line or not.
-