Most useful NLog configurations [closed]

What are the best or most useful configurations for logging with NLog? (These can be simple or complex, as long as they’re useful.)

I’m thinking of examples like automatically rolling over log files at a certain size, changing the layout (log message) whether or not there is an exception, escalating the log level once an error has occurred, etc.

Here are some links:

  • NLog Demo
  • Examples in the source

10 Answers
10

Leave a Comment