Helpful Logging (Thomas Aglassinger)


Details
Wir beginnen mit einem Vortrag von JUGG Regular Thomas Aglassinger, der über seine Empfehlungen zu produktivem Logging sprechen wird.
Anschließend stehen wir wie üblich zum Plaudern mit Brötchen zusammen.
Es folgt der Talk-Abstract von Thomas.
---
Helpful Logging
Logging frameworks are widely used with Java applications to describe the actions a software performs with the intention to simplify error analysis after the fact, integrate application monitoring to quickly react on specific events and perform application archeology to learn about user behavior and usage patterns.
While the technical aspects of using loggers, formatters and handlers are well described in the respective documentation and various blogs, less thought is given on how to actually word log messages, which information to include/exclude and in which situations to apply certain log levels. In this talk we are going to take a closer look at these topics in order to make your software easier to debug and support.
Agenda
- Technical basics of Java logging - a quick glance
- Log levels: an overview
- Localizing log messages?
- Wording of INFO messages: future vs past
- DEBUG logging
- Wording of ERROR messages: modes of human error, wording error
messages towards solutions, clean error handling - Wording of WARNING messages: when are warnings even useful, how are
warnings similar to errors - ERROR vs SEVERE/FATAL messages: situations where they are
appropriate


Helpful Logging (Thomas Aglassinger)