TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Echopraxia, a better Java Logging API

10 pointsby wsargentover 3 years ago
I&#x27;ve been working on logging for a while and I&#x27;ve released and open sourced a new Java logging API I&#x27;m really happy with.<p>Echopraxia [1] 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.<p>Here&#x27;s a Spring Boot Example [2].<p>And here&#x27;s my blog post [3].<p>[1] https:&#x2F;&#x2F;github.com&#x2F;tersesystems&#x2F;echopraxia<p>[2] https:&#x2F;&#x2F;github.com&#x2F;tersesystems&#x2F;echopraxia-spring-boot-example<p>[3] https:&#x2F;&#x2F;tersesystems.com&#x2F;blog&#x2F;2022&#x2F;01&#x2F;02&#x2F;echopraxia-a-better-java-logging-api&#x2F;

2 comments

invalidnameover 3 years ago
This looks like an interesting idea, especially on top of JUL which sucks a bit (but is a standard now). One thing I would recommend is benchmarking on the front page. This looks like something that has some overhead. e.g. the list syntax. I suggest doing several overhead benchmarks to quantify the overhead&#x2F;saving with various VMs&#x2F;logging configurations.
评论 #29827541 未加载
评论 #29777164 未加载
geoahover 3 years ago
Echopraxia is also a pretty interesting hard scifi book by Petter Watts - do check it out. (<a href="https:&#x2F;&#x2F;www.goodreads.com&#x2F;book&#x2F;show&#x2F;18490708-echopraxia" rel="nofollow">https:&#x2F;&#x2F;www.goodreads.com&#x2F;book&#x2F;show&#x2F;18490708-echopraxia</a>)