Chat now with support
Chat with Support

syslog-ng Open Source Edition 3.16 - Release Notes

usertty: Sending messages to a user terminal: usertty() destination

usertty: Sending messages to a user terminal: usertty() destination

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);

The usertty() does not have any further options nor does it support templates.

Example: Using the usertty() driver
destination d_usertty { usertty("root"); };
Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating