Class Syslogger


  • public class Syslogger
    extends Object
    A utility for generating and committing Syslog events, even where IIQ would not produce them.

    The events are saved via an autonomous transaction.

    • Method Detail

      • logEvent

        public static String logEvent​(Class<?> owningClass,
                                      String message,
                                      Throwable error)
                               throws sailpoint.tools.GeneralException
        Logs a SyslogEvent of ERROR type with a sequential QuickKey, returning that key
        Parameters:
        owningClass - The class invoking this method, which will be logged as the class name, optionally
        message - The message to log (not null)
        error - The error, optionally
        Returns:
        The quick key generated for this event
        Throws:
        sailpoint.tools.GeneralException - if any failures occur during logging or creating the private context