Hacker News new | ask | show | jobs
by mi_lk 1036 days ago
Q: what do people use for structured logging in Java?
2 comments

Any Java logger has structured logging.

The prevailing solution is SLF4J, which is a facade that can be implemented by any number of backends, e.g. Logback.

There is logging in the stdlib (java.util.logging), but it's the less common choice, for whatever reason.

Logback has structured logging. I think log4j has it as well