Hi,

I have a java project that uses the hibernate and log4j framework. For the
project, I created a log4j.properties file which contains:

log4j.rootLogger=INFO, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%5p] %X{appName} %d{mm:ss}
(%F:%M:%L)%n%m%n%n

I am able to log my statements using log4j properties.  However, hibernate
logging is also using my log4j properties.  I would like hibernate to use
its own log4j properties but my properties seem to override it.  How can I
use my log4j properties for my project but still keep the log4j properties
for Hibernate related logging?

Thank you,

Marc
-- 
View this message in context: 
http://www.nabble.com/Overriding-log4j-properties-in-Hibernate-tf4877998.html#a13959039
Sent from the Log4j - Users mailing list archive at Nabble.com.


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

Reply via email to