Class SyslogUtils


  • public class SyslogUtils
    extends Object
    • Constructor Detail

      • SyslogUtils

        public SyslogUtils()
    • Method Detail

      • sendMessage

        public static void sendMessage​(InetSocketAddress syslogAddr,
                                       String host,
                                       int eventCount)
        Use a DatagramChannel to send a number of syslog messages to the Minion host.
        Parameters:
        host - Hostname to inject into the syslog message
        eventCount - Number of messages to send