Logging is one of the oldest topics you can encounter in computer science, but it is also one that has been solved many times. Understand that you will find lots of frameworks about logging. Let's have a quick look at them and see how they can sometimes relate.
Logging implementations – which one to pick
Logging facade – the good bad idea
Logging facades are frameworks such as SLF4J (https://www.slf4j.org/), commons-logging, jboss-logging, or more recently, the log4j2 API (https://logging.apache.org/log4j/2.x/). They intend to provide a uniform API usable with any sort of logging implementation. You must really see it as an API (as Java EE is an API), and the logging frameworks as implementations (as GlassFish...