Inheritance diagram for TelnetAppender:
Public Member Functions | |
virtual bool | requiresLayout () const |
void | activateOptions () |
virtual void | setOption (const String &option, const String &value) |
int | getPort () const |
void | setPort (int port) |
void | close () |
Protected Member Functions | |
virtual void | append (const spi::LoggingEventPtr &event) |
Here is a list of the available configuration options:
Name | Requirement | Description | Sample Value
|
Port | optional | This parameter determines the port to use for announcing log events. The default port is 23 (telnet). | 5875 |
|
all of the options have been set, create the socket handler and wait for connections. Reimplemented from AppenderSkeleton. |
|
Handles a log event. For this appender, that means writing the message to each connected client. Implements AppenderSkeleton. |
|
shuts down the appender. Implements Appender. |
|
Returns value of the Port option. |
|
This appender requires a layout to format the text to the attached client(s). Implements Appender. |
|
Set options Reimplemented from AppenderSkeleton. |
|
The Port option takes a positive integer representing the port where the server is waiting for connections. |