[ https://issues.apache.org/jira/browse/LOG4J2-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wang chong updated LOG4J2-3157: ------------------------------- Description: I have a business requirement: when certain events are triggered, the events need to be sent to multiple syslog servers at the same time. The number of these syslog servers may be dynamically added or reduced (according to the operation on the user interface). What I want to understand is how to use the log4j2 appender to implement the above-mentioned function of sending events to multiple syslog servers, and the addresses of these servers may be dynamically added or subtracted, and the ports and other syslog parameters may also change. It is assumed that the configuration of the syslog server (such as address, port, etc.) can already be changed through some mechanism. was:I have a business requirement: when certain events are triggered, the events need to be sent to multiple syslog servers at the same time. The number of these syslog servers may be dynamically added or reduced (according to the operation on the user interface). What I want to understand is how to use the log4j2 appender to implement the above-mentioned function of sending events to multiple syslog servers, and the addresses of these servers may be dynamically added or subtracted, and the ports and other syslog parameters may also change. It is assumed that the configuration of the syslog server (such as address, port, etc.) can already be changed through some mechanism. > How to use log4j2 to send syslog to multiple syslog server and ports(this > parameters maybe added or deleted). > -------------------------------------------------------------------------------------------------------------- > > Key: LOG4J2-3157 > URL: https://issues.apache.org/jira/browse/LOG4J2-3157 > Project: Log4j 2 > Issue Type: Question > Components: Appenders > Affects Versions: 2.14.1 > Reporter: wang chong > Priority: Major > Fix For: 2.14.1 > > > I have a business requirement: when certain events are triggered, the events > need to be sent to multiple syslog servers at the same time. > The number of these syslog servers may be dynamically added or reduced > (according to the operation on the user interface). > What I want to understand is how to use the log4j2 appender to implement the > above-mentioned function of sending events to multiple syslog servers, and > the addresses of these servers may be dynamically added or subtracted, and > the ports and other syslog parameters may also change. > It is assumed that the configuration of the syslog server (such as address, > port, etc.) can already be changed through some mechanism. -- This message was sent by Atlassian Jira (v8.3.4#803005)