This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

usertty: Send messages to a user terminal

This driver writes messages to the terminal of a logged-in user.

The usertty() driver has a single required argument, specifying a username who should receive a copy of matching messages. Use the asterisk * to specify every user currently logged in to the system.

Declaration

usertty(username);

Example: Using the usertty() driver

destination d_usertty { usertty("root"); };

escaping()

Accepted values: yes or no
Default: no

Available in AxoSyslog 4.26 and later.

Description: Turns on escaping for the ', ", and backslash characters from the messages. This behavior is useful when the messages are passed to an application that cannot handle escaped characters properly.

time-reopen()

Accepted values: number [seconds]
Default: 60

Description: The time to wait in seconds before a dead connection is reestablished.