Class LoggingServiceImpl

    • Constructor Detail

      • LoggingServiceImpl

        public LoggingServiceImpl()
    • Method Detail

      • log

        public String log​(String component,
                          org.apache.logging.log4j.Level priority,
                          String message)
        Description copied from interface: LoggingService
        Logs the given message to central log location. Makes an API call to TDM which in turn persists this message in the database.
        Specified by:
        log in interface LoggingService
        Parameters:
        component - The chef component/role that initiated this action
        priority - message priority/severity
        message - the actual message to log
        Returns:
        response from remote server