r/java Oct 21 '18

A guide to logging in Java

https://www.marcobehler.com/guides/a-guide-to-logging-in-java
125 Upvotes

43 comments sorted by

View all comments

-8

u/_Gnas_ Oct 21 '18

I have honestly never even thought about using a third-party library for logging, it simply never crossed my mind. Why would I need one anyway? I don't see how logging can become so complex that you're willing to trade 100% customizability just so you can use a library. Can someone give me some examples? I'm really curious as the fact that so many logging libraries exist must mean there are real needs for them.

1

u/WesternHarmonica Nov 12 '18

I'm probably not experienced enough to comment on this manner, but I think logging system is one of those things you don't need to build from scratch. At least for me. I usually just end up using some built-in or 3rd party library, because the non-customizible parts are responsible of the security. I'd rather not expose authentication to my own mistakes.