Created
June 25, 2018 22:59
-
-
Save xerial/e32c2d0ee046a2dc8ca674088d8f8cdf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logger.resetHandler(new LogRotationHandler( | |
fileName = "your-app.log", | |
maxNumberOfFiles = 100, // rotate up to 100 log files | |
maxSizeInBytes = 100 * 1024 * 1024 // 100MB | |
AppLogFormatter // Any log formatter you like | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment