Datagram Log Target Plugin

Description

This factory creates a DatagramOutputTarget object which will sends datagrams to the specified address. The name of the target is specified by the hostname attribute of the <address> element and the port by the port attribute. The <format> element wraps the format to output the log.

Example

    <target id="syslog"
        artifact="avalon-logging/avalon-logkit-syslog#1.0-SNAPSHOT">
      <address hostname="localhost" port="514" facility="USER"/>
      <format type="avalon"/>
    </target>

XML

Nested Element Description
address The address element holds two attributes - hostname and port and facility. The hostname is the host to which events shall be directed. The port identifies the port on the host machine.
format A standard formatter statement.