maxSizeRollBackups
to a value perhaps (maxSizeRollBackups set to negative 1 to allow an infinite number of backup files)configsection
handler to your app.config? e.g.<section>
element AND that configSections
is the first child of the root element: configsections
must be the first element in your app.Config
after configuration:<root> <appender-ref .
section it is named as ConsoleAppender. They need to match.<root>
section.