Show/Hide Toolbars

A socket appender transmits logger messages to a port on a remote host. On the remote host, the messages can then be logged as if generated locally. Using a socket appender allows you to send logs from various systems to a single server where all logs for your organization are monitored or stored.

To use a socket appender, you must define a socket server to receive the log messages. Log4j® includes socket server examples as part of its distribution.

Whether you are defining a socket appender for system logging or audit logging, the settings shown in the following image are the same.

Socket Appender Information

Socket Appender Information

 

The following table describes the fields in the Socket Appender Information section of the Appender screen.

For general instructions on defining all types of appenders, see one of the following:

For system logging, see Defining System Appenders.

For audit logging, see Defining Audit Appenders.