Skip to content

Instantly share code, notes, and snippets.

@Niksko
Created April 3, 2017 09:18
Show Gist options
  • Select an option

  • Save Niksko/0b6ceab982b855dd6c9ffd5687f64b2e to your computer and use it in GitHub Desktop.

Select an option

Save Niksko/0b6ceab982b855dd6c9ffd5687f64b2e to your computer and use it in GitHub Desktop.
Correct method of including a name in a rolling file appender
// 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