flogger
p6spy
Our great sponsors
flogger | p6spy | |
---|---|---|
5 | 2 | |
1,449 | 1,972 | |
0.4% | 0.0% | |
6.4 | 1.8 | |
2 months ago | about 2 years ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flogger
-
slf4j or System.Logger?
Have you considered https://github.com/google/flogger ?
-
Replacing Logging APIs with java.lang.System.Logger
The main features that I've heard being asked for are handled by API decorators, such as Google's Flogger. I have personally not run into limitations that caused me concern about the speediness of slf4j2.
-
How does one separate security-critical parts to Rust in practice?
Yeah, I think switching to e.g. Flogger would be much more practical than rewriting it in Rust.
- "Putting a JNDI log4j trigger in my email signature so I can see if anyone’s logging copies of my mail"
-
“Open Source” Is Broken
Why do you think they're using log4j to any significant extent? I'd be a bit surprised if they ever did rather than rolling their own, because for something this simple the cost of writing your own is far cheaper than dealing with a dependency. We're not talking about Linux or Clang here...
In particular, from https://github.com/google/flogger#yet-another-logging-api:
> Flogger is now the sole recommended Java logging API within Google.
p6spy
- Logging FULL select in hibernate
-
How/Where I can learn the micro level structure of a real world Java web application with sample code and explanation
But, there is a library called p6spy which implements database logging with a fake JDBC driver that is called before the real JDBC driver, and logs everything which goes through. It's handy if you're not using JPA and not using Spring.
What are some alternatives?
Logback - The reliable, generic, fast and flexible logging framework for Java.
spring-boot-data-source-decorator - Spring Boot integration with p6spy, datasource-proxy, flexy-pool and spring-cloud-sleuth
Apache Log4j 2 - Apache Log4j 2 is a versatile, feature-rich, efficient logging API and backend for Java.
OpenTracing Toolbox - Best-of-breed OpenTracing utilities, instrumentations and extensions
slf4j-jdk-platform-logging - slf4j 1.7x JDK platform logging
echopraxia - Java Structured Logging API for Logback, Log4J2, and JUL
yaslf4j - yet another simple logging facade for java
Trino - Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
config - configuration library for JVM languages using HOCON files
spring-petclinic - A sample Spring-based application
microprofile-config - MicroProfile Configuration Feature
Doma 2 - DAO oriented database mapping framework for Java 8+