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.
<!-- DISCLAIMER: This file is based on the syslog-ng Open Source Edition documentation https://github.com/balabit/syslog-ng-ose-guides/commit/2f4a52ee61d1ea9ad27cb4f3168b95408fddfdf2 and is used under the terms of The syslog-ng Open Source Edition Documentation License. The file has been modified by Axoflow. -->
time-reopen()
| Accepted values: | number [seconds] |
| Default: | 60 |
<!-- DISCLAIMER: This file is based on the syslog-ng Open Source Edition documentation https://github.com/balabit/syslog-ng-ose-guides/commit/2f4a52ee61d1ea9ad27cb4f3168b95408fddfdf2 and is used under the terms of The syslog-ng Open Source Edition Documentation License. The file has been modified by Axoflow. -->
Description: The time to wait in seconds before a dead connection is reestablished.
Last modified June 24, 2026: [usertty] adds the escaping option (bf63eaf4)