Hello  all

I am facing one problem.
I am using maven for building the project and running Junit test cases, 
it also includes hibernate.
In this process hibernate creates lot of INFO log statements, which is 
printed on console. I want to skip all the verbose log generated by 
hibernate and log only errors.
I have created log4j.properties and is present in the classpath..

log4j.logger=ERROR, CONSOLE
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
log4j.logger.org.hibernate=FATAL

but still there is no change in log printed on console.
How can I solve this issue?

I am new to maven so please help in this problem.

Thanks in Advance
Abhijeet


-- 
------------------------------------------------------------------------
*Abhijeet Shipure : Cell 9881477527 *
Technical Lead
Vertex Software Pvt. Ltd.
(An NTT DATA Company)
"Creating Value"
E-mail: aship...@vertex.co.in
Website: www.vertexsoft.com     Server Space, 5th & 6th Floor,
AG Technology Park, Off ITI Road,
Aundh, Pune - 411 007,
Maharashtra, India
Phone: +91-20-66041500 X 702
Fax: +91-20-66041621.


Disclaimer: http://www.vertexsoft.com/corporate/email_disclaimer.html

Please do not print this email unless it is absolutely necessary.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to