Created
April 3, 2017 09:18
-
-
Save Niksko/0b6ceab982b855dd6c9ffd5687f64b2e to your computer and use it in GitHub Desktop.
Correct method of including a name in a rolling file appender
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
| // Namespace your logs at the file level | |
| <file value="logs\FooAPI" /> | |
| // Put a dot in the date pattern for easy to read filenames | |
| <datePattern value="'.'dd.MM.yyyy'.log'" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment