Package com.netscape.cms.logging
Class SignedAuditLogger
- java.lang.Object
-
- com.netscape.cms.logging.Logger
-
- com.netscape.cms.logging.SignedAuditLogger
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Loggerlogger-
Fields inherited from class com.netscape.cms.logging.Logger
mFactories, mLogger, mLogQueue
-
Fields inherited from interface com.netscape.certsrv.logging.ILogger
EV_AUDIT, EV_SIGNED_AUDIT, EV_SYSTEM, 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 Constructor Description SignedAuditLogger()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SignedAuditLoggergetLogger()voidlog(LogCategory category, LogSource source, int level, java.lang.String message, java.lang.Object[] params, boolean multiline)Logs an event to the log queue.voidlog(LogEvent event)voidupdate(LogEvent event, LogSource source, int level, java.lang.String message, java.lang.Object[] params, boolean multiline)Updates a log event.
-
-
-
Method Detail
-
getLogger
public static SignedAuditLogger getLogger()
-
log
public void log(LogCategory category, LogSource source, int level, java.lang.String message, java.lang.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
-
update
public void update(LogEvent event, LogSource source, int level, java.lang.String message, java.lang.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.
-
-