Hacker News new | ask | show | jobs
by matt_heimer 1474 days ago
The built-in JUL package seems to be what you'd want if you are trying get rid of dependencies. In practice I find that using slf4j as your logging API is a good practice. You can start with it configured to be a wrapper around JUL and then add a different logging implementation if you need more features like file rotation, etc.
1 comments

How to use it in case anyone is interested...

https://examples.javacodegeeks.com/core-java/util/logging/ja...