Why does FrontMan uses Commons-Logging and what is this?
Joined: Aug 27, 2008
I try to use Bear Bibeaults lovely FrontMan Framework. When I tried to start it, I had a ClassNotFoundException, because it didn't find some "Commons Logging" thing.
I found this commons-logging jar-thing in the web and put it in my /lib.
Now it works but my question is:
Why does Frontman use this? What does Commons Logging do? Why isn't this included to tomcat?
Thank you and greetings from Robert
Joined: Mar 22, 2005
Commons Logging is an abstraction layer for logging libraries. The most common logging implementations are java.util.logging and log4j, but there are others as well. If you ever want to switch your code from using one to the other, you'll find that you need to touch most source files. Commons Logging abstracts that away, and lets you configure which logging implementation to use with a properties file - no source changes required.
It's widely used, although apparently Tomcat doesn't use it.