Tib,

...so it appears in your environment the commons-logging wrapper maps to 
log4j ( or finds it) without the need for the commons-logging.properties 
configuration. 

 Do you still retain the import statements to commons.logging in your 
classes? Presumably yes. Thanks for helping.

Iain


Please respond to "Struts Users Mailing List" 
<[EMAIL PROTECTED]>
To:     "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc: 

Subject:        Re: Is commons logging required in Struts?

2003. janu�r 27. 12:49 d�tummal Iain Sanderson ezt �rtad:
> Should I put the imports to commons.logging back? Can struts live 
without
> the commons-logging.properties file? I know commons-logging.jar is
> absolutely required. What is necessary for a 'pure' log4j 
implementation?

I have a log4j.properties in WEB-INF/classes, and there is no 
commons-logging.properties anywhere. I use only commons-logging's log 
statements in my new classes but in some ancient ones there are a few 
log4j 
statements left as well. Log4j.jar is in WEB-INF/lib directory. 

In this enviroment my commons-logging calls delegate all of my log 
statements 
to log4j logging framework, so I configure all my logging only via 
log4j.properties. 

Hth,

Tib

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Reply via email to