Logging best practices

from blog Marek's idea of the day, | ↗ original
31 December 201331 December 2013 Every serious program has some kind of logging infrastructure. Sometimes it's trivial (Every serious program has some kind of logging infrastructure. Sometimes it's trivial (stderrstderr); sometimes it's sophisticated and highly configurable.); sometimes it's sophisticated and highly configurable. Unfortunately, many programs use logging inconsistently. The logging infrastructure is usually grown organically and not thought through. Many programs repeat the same mistakes with regard to logging.Unfortunately, many programs use logging inconsistently. The logging infrastructure is usually grown organically and not thought through. Many programs repeat the same mistakes with regard to logging. Let's take some time to talk about logging in larger systems.Let's take some time to talk about logging in larger systems. Before we...Before we...