yaslf4j
flogger
yaslf4j | flogger | |
---|---|---|
1 | 5 | |
1 | 1,447 | |
- | -0.1% | |
1.8 | 6.4 | |
about 1 year ago | 3 months 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.
yaslf4j
-
slf4j or System.Logger?
I had the same challenge deciding what option would be the beste and attempted to solve it with an mini library which just attempts slf4j, log4j2 and fallbacks to java itil logging. It was useful for this kind of situation, not quite sure whether it is useful for others though... see here for more https://github.com/Hakky54/yaslf4j
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.
What are some alternatives?
mdc4spring - Declarative Logging Mapping Diagnostic Context for Spring.
Logback - The reliable, generic, fast and flexible logging framework for Java.
config - configuration library for JVM languages using HOCON files
Apache Log4j 2 - Apache Log4j 2 is a versatile, feature-rich, efficient logging API and backend for Java.
LogCaptor - 🎯 LogCaptor captures log entries for unit and integration testing purposes
slf4j-jdk-platform-logging - slf4j 1.7x JDK platform logging
microprofile-config - MicroProfile Configuration Feature
p6spy - P6Spy is a framework that enables database data to be seamlessly intercepted and logged with no code changes to the application.
gestalt - A Java configuration library that allows you to build your configurations from multiple sources, merges them and convert them into an easy-to-use typesafe configuration class. A simple but powerful interface allows you to navigate to a path within your configurations and retrieve a configuration object, list, or a primitive value.