Discussion about our logging mechanism

Hey everyone,

We had a Tech Exchange session today where we discussed our Logging Architecture and where we want to take it next.

The slides from today’s session are attached to this post:

Logging discussion.pdf (174.2 KB)

Key topics we covered:

  • How do we pass the logger (without losing the component id) to other objects in a OpenemsComponent?
  • How do we log exceptions? Can we log the full stacktrace and not only the exception message?

We’re currently looking into Log4j2 Markers to evaluate how they could improve our logging strategy.

Feel free to review the slides and share your thoughts, questions, or concerns in this thread.
Looking forward to the discussion!