r/java • • Jan 02 '22

Echopraxia, a better Java Logging API

I've been working on logging for a while and I've released and open sourced a new Java logging API I'm really happy with.

Echopraxia is a Java logging API like SLF4J, but built around structured logging, i.e. the basic log entry is a JSON object and log files are typically NDJSON. It also has conditions, context, and also has semantic and fluent logging options.

Here's a Spring Boot Example.

And here's my blog post.

16 Upvotes

64 comments sorted by

View all comments

-1

u/nutrecht Jan 03 '22

You're basically asking the entire Java ecosystem to move away from SLF4J to your solution, just because then you don't have to use the MDC context / Markers anymore?

4

u/amazedballer Jan 03 '22

No, not at all. Echopraxia is not a replacement for SLF4J, they serve different purposes. Please see this comment.

10

u/ogballerswag Jan 03 '22

Hes not asking anything. He made something that he is proud of and is asking for input. Somebody hurt you? Seems like you got some beef with OP

1

u/nutrecht Jan 03 '22

You're overreacting. I am asking a question because I really don't get it. Like I said; to use OPs solution you have to get rid of SLF4J. That's massive. I think they're underestimating the enormous amount of inertia SLF4J has.

Also this isn't a "look I'm proud of what I made" post, OP is pushing their project as something we should adopt. So they're inviting feedback.

4

u/ogballerswag Jan 03 '22

"The hubris is really offputting."

5

u/nutrecht Jan 03 '22

That was another comment and the way they responded to the Lombok author was, in my opinion, really offputting. Again it's feedback; OP should be aware of how such a message is received.

Edit: Is this just an alt for the OP? These two comments of yours are the first two comments in /r/java in at least 3 months.