syslog: tee the server-notice/log stream to syslog (native /dev/log unix datagram or udp host:port)
This commit is contained in:
parent
56d3774647
commit
5ea543188d
4 changed files with 115 additions and 0 deletions
|
|
@ -757,6 +757,7 @@ impl Server {
|
|||
self.deliver_server_notice(o, msg, &jval);
|
||||
}
|
||||
crate::modules::chanlog::tee(self, msg);
|
||||
crate::modules::syslog::tee(self, msg);
|
||||
}
|
||||
|
||||
/// Broadcast a `*** msg` server NOTICE to *every* registered local user — for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue