The 5 W's of Logging

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • Ed Schwehm talks about the five W's of Logging. Create easier to debug code, simpler to maintain implementations and easier to keep you and your team smiling. Who, What, When, Where and Why of logging.

Комментарии • 1

  • @eduardocosta9078
    @eduardocosta9078 2 года назад

    The 5 W's guide me on what to include in logs
    Who was involved? - Include the request ID, user ID, or whatever information that identifies where come the request
    What happened? - Add clear information about what happened.
    Where did it happen? - Where in the code it happens, any specific module, application.
    When did it happen? - Add the timestamp
    Why did it happen? - Add information about the constraint of condition was violated
    For more information read: "How to Do Application Logging Right"