I learned that I have to specify/import log4j in a java prgm as follows: import org.apache.log4j.Logger;
However I found now a Java program where the logging is specified as follows: import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; Surprisingly this commons logger pays attention to all log4j declarations in log4j.properties as well. Is this intended? What is the difference between the two different "imports"? Ben -- View this message in context: http://old.nabble.com/Does-%22org.apache.commons.logging.Log%22-use-log4j.properties-as-well--tp29441618p29441618.html Sent from the Log4j - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
