Class SignedAuditLogger

  • All Implemented Interfaces:
    com.netscape.certsrv.logging.ILogger

    public class SignedAuditLogger
    extends Logger
    A class represents certificate server logger implementation.

    Version:
    $Revision$, $Date$
    Author:
    thomask, mzhao
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger logger  
      • 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
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static SignedAuditLogger getLogger()  
      void log​(com.netscape.certsrv.logging.LogCategory category, com.netscape.certsrv.logging.LogSource source, int level, java.lang.String message, java.lang.Object[] params, boolean multiline)
      Logs an event to the log queue.
      void log​(com.netscape.certsrv.logging.LogEvent event)  
      void update​(com.netscape.certsrv.logging.LogEvent event, com.netscape.certsrv.logging.LogSource source, int level, java.lang.String message, java.lang.Object[] params, boolean multiline)
      Updates a log event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
    • Constructor Detail

      • SignedAuditLogger

        public SignedAuditLogger()
    • Method Detail

      • log

        public void log​(com.netscape.certsrv.logging.LogCategory category,
                        com.netscape.certsrv.logging.LogSource source,
                        int level,
                        java.lang.String message,
                        java.lang.Object[] params,
                        boolean multiline)
        Description copied from class: Logger
        Logs an event to the log queue.
        Overrides:
        log in class Logger
        Parameters:
        category - What kind of event it is: EV_AUDIT or EV_SYSTEM.
        source - the source of the log event
        level - the level of the log event
        message - the one line detail message to be logged
        params - the parameters in the detail message
        multiline - true if the message has more than one line, otherwise false
      • log

        public void log​(com.netscape.certsrv.logging.LogEvent event)
        Overrides:
        log in class Logger
      • update

        public void update​(com.netscape.certsrv.logging.LogEvent event,
                           com.netscape.certsrv.logging.LogSource source,
                           int level,
                           java.lang.String message,
                           java.lang.Object[] params,
                           boolean multiline)
        Description copied from class: Logger
        Updates a log event.
        Overrides:
        update in class Logger
        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.