Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
logger |
mFactories, mLogger, mLogQueue
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 and Description |
---|
SignedAuditLogger() |
Modifier and Type | Method and Description |
---|---|
static SignedAuditLogger |
getLogger() |
void |
log(LogCategory category,
LogSource source,
int level,
java.lang.String message,
java.lang.Object[] params,
boolean multiline)
Logs an event to the log queue.
|
void |
log(LogEvent event) |
void |
update(LogEvent event,
LogSource source,
int level,
java.lang.String message,
java.lang.Object[] params,
boolean multiline)
Updates a log event.
|
public static SignedAuditLogger getLogger()
public void log(LogCategory category, LogSource source, int level, java.lang.String message, java.lang.Object[] params, boolean multiline)
Logger
log
in class Logger
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 falsepublic void update(LogEvent event, LogSource source, int level, java.lang.String message, java.lang.Object[] params, boolean multiline)
Logger
update
in class Logger
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.