Socket Log Target Plugin

Description

This factory creates a SocketOutputTarget object which will use TCP/IP socket to communicate with the server. The name of the target is specified by the hostname attribute of the <address> element and the port by the port attribute.

Example

    <target id="socket"
        artifact="avalon-logging/avalon-logkit-socket#1.0-SNAPSHOT">
      <address hostname="localhost" port="514"/>
    </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.