Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以将日志信息发送到多个系统日志服务器吗?我们的 IT 部门有 2 台 syslog 服务器(用于冗余),并希望应用程序同时记录到它们。为 syslog 主机添加 2 行是否有效?
我想创建 2 个单独的 syslog 附加程序(SYSLOG1、SYSLOG2)会起作用,但想先探索这条路。
不能,因为每个 SyslogAppender 只能有一个主机,不能有多个主机。您需要创建两个附加程序。