On 10/8/07, Gordon Dickens <[EMAIL PROTECTED]> wrote: > Hello, > > Is there any specific reason why one would choose Apache Commons or > Log4J as their preferred logging mechanism?
In order to understand why you might use one over the other, you should first understand a little about each. I wrote a blog entry that discussed this topic a bit back in August: http://bsnyderblog.blogspot.com/2007/08/my-soapbox-for-slf4j.html There's also a discussion out on TheServerSide about this topic. I've dealt a lot with logging in my career and If I had to choose strictly between the two choices of Commons Logging and Log4J then it's an easy decision; I'd stick with Log4J. IMO, most projects choose Commons Logging without ever really understanding its purpose which can cause massive issues later. Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache ActiveMQ - http://activemq.org/ Apache ServiceMix - http://servicemix.org/ Apache Geronimo - http://geronimo.apache.org/ Castor - http://castor.org/
