Package net.logstash.logback.appender.destination
package net.logstash.logback.appender.destination
-
ClassDescriptionA convenience class to make setting a
DestinationConnectionStrategy
cleaner in logback's xml configuration when using the strategies provided by logstash-logback-encoder.Strategy used to determine to which destination to connect, and when to reconnect.ADestinationConnectionStrategy
that will force a connection to be reestablished after a length of time has elapsed.ConstructsInetSocketAddress
es by parsingString
values.The first destination is considered the "primary" destination.This strategy attempts connections to the destination in a random order.This strategy attempts connections to the destination in round robin order.