The main benefit is that you are not pinning the user of your package to a specific Logger. By editing configurations or implementing some interfaces, commons logging can wrap almost any Logging utility.
----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 07, 2003 9:56 AM Subject: RE: using Log4J > What's the benefit of using commons-logging if I have log4j setup and > working? > > Regards, > > > PQ > > "This Guy Thinks He Knows Everything" > "This Guy Thinks He Knows What He Is Doing" > > -----Original Message----- > From: Dan Tran [mailto:[EMAIL PROTECTED]] > Sent: January 7, 2003 1:43 AM > To: Struts Users Mailing List > Subject: Re: using Log4J > > Struts source code uses common-logging interface which will use log4j > implementation if you place log4j.properties in the classpath. > > So take a look at the source. > > -D > > > ----- Original Message ----- > From: "usha" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, January 06, 2003 9:00 PM > Subject: using Log4J > > > > Hi > > > > can anybody tell me how where i can get the examples using LOG4J in > struts. > > > > thanks > > usha > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>