Package | Description |
---|---|
org.apache.logging.log4j.core.appender.rolling |
Rolling File Appender and support classes.
|
Modifier and Type | Method and Description |
---|---|
static DefaultRolloverStrategy.Builder |
DefaultRolloverStrategy.newBuilder() |
DefaultRolloverStrategy.Builder |
DefaultRolloverStrategy.Builder.withCompressionLevelStr(String compressionLevelStr)
Defines compression level.
|
DefaultRolloverStrategy.Builder |
DefaultRolloverStrategy.Builder.withConfig(Configuration config)
Defines configuration.
|
DefaultRolloverStrategy.Builder |
DefaultRolloverStrategy.Builder.withCustomActions(Action[] customActions)
Defines custom actions.
|
DefaultRolloverStrategy.Builder |
DefaultRolloverStrategy.Builder.withFileIndex(String fileIndex)
Defines the file index for rolling strategy.
|
DefaultRolloverStrategy.Builder |
DefaultRolloverStrategy.Builder.withMax(String max)
Defines the maximum number of files to keep.
|
DefaultRolloverStrategy.Builder |
DefaultRolloverStrategy.Builder.withMin(String min)
Defines the minimum number of files to keep.
|
DefaultRolloverStrategy.Builder |
DefaultRolloverStrategy.Builder.withStopCustomActionsOnError(boolean stopCustomActionsOnError)
Defines whether to stop executing asynchronous actions if an error occurs.
|
DefaultRolloverStrategy.Builder |
DefaultRolloverStrategy.Builder.withTempCompressedFilePattern(String tempCompressedFilePattern)
Defines temporary compression file pattern.
|
Copyright © 1999-2021 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.