RollingFileAppender
does this. You just need to set maxBackupIndex
to the highest value for the backup file.
More Related Contents:
- How to initialize log4j properly?
- How to log Apache CXF Soap Request and Soap Response using Log4j?
- How do you get log4j to roll files based on date and size?
- Where to place log4j.xml
- Java: Rotating Images
- Android: Bitmaps loaded from gallery are rotated in ImageView
- Configuring Log4j Loggers Programmatically
- Setting device orientation in Swift iOS
- Where should I put the log4j.properties file?
- how to create iphone’s wobbling icon effect?
- Change location of log4j.properties
- Rotation of 3D vector?
- Rotating a Vector in 3D Space
- Websphere all logs are going to SystemOut.log
- Is it worth to use slf4j with log4j2
- Specifying a custom log4j.properties file for all of JUnit tests run from Eclipse
- How to disable Spring logging DEBUG messages?
- Rotate an image in C++ without using OpenCV functions
- Rotate JLabel or ImageIcon on Java Swing
- Are there technical reasons to prefer using logback instead of log4j?
- Where do I configure log4j in a JUnit test class?
- Log4j, configuring a Web App to use a relative path
- Eclipse: Referencing log4j.dtd in log4j.xml
- How to avoid restarting activity when orientation changes on Android
- Log runtime Exceptions in Java using log4j
- UIImageView Gestures (Zoom, Rotate) Question
- How to configure log4j to only keep log files for the last seven days?
- Rotate a div using javascript
- Python Array Rotation
- log4j:WARN No appenders could be found for logger in web.xml