3 ms·
I like java.util.logging.
by throwaway4good 5y ago
I like java.util.logging.
- mrweasel 5y agoUnless you're doing something very special, is there any reason to not use Javas build in logger? I don't know any Python developers that doesn't just use the logger in the standard library. I'm not a Java developer, so I don't know, but is there something "wrong" with java.util.logging?
- hocuspocus 5y agoJUL is weird and came too late to stand a chance against commons logging and log4j. Log4j's API façade was successfully abstracted away into Slf4j, whose usage became ubiquitous in the Java ecosystem. You certainly can use JUL as an Slf4j backend though.
- vbezhenar 5y agoThere's nothing wrong with java.util.logging. logback/log4j are better in almost every regard (configuration, usability, speed), but if you don't mind to write some boilerplate, jul is absolutely appropriate for most projects.