Interface LoggingService

  • All Known Implementing Classes:
    LoggingServiceImpl

    public interface LoggingService
    Service interface to log system actions to a central server.
    Author:
    abelsare
    • Method Detail

      • log

        String log​(String component,
                   org.apache.logging.log4j.Level priority,
                   String message)
        Logs the given message to central log location. Makes an API call to TDM which in turn persists this message in the database.
        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