public final class ReliabilityStrategyFactory extends Object
|Modifier and Type||Method and Description|
Returns a new
public static ReliabilityStrategy getReliabilityStrategy(LoggerConfig loggerConfig)
ReliabilityStrategyinstance based on the value of system property
log4j.ReliabilityStrategy. If not value was specified this method returns a new
Valid values for this system property are
"AwaitCompletion" (use the default
Users may also use this system property to specify the fully qualified class name of a class that implements the
ReliabilityStrategy and has a constructor that accepts a single
loggerConfig- the LoggerConfig the resulting
ReliabilityStrategyis associated with
Copyright © 1999-2023 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.