Ant task warn no appenders could be found for logger

I crate custom ant task for “org.hibernate.tool.ant.HibernateToolTask” and when I start the task I got this warning:

[ant:hbm2java] log4j:WARN No appenders could be found for logger (org.jboss.logging). [ant:hbm2java] log4j:WARN Please initialize the log4j system properly. [ant:hbm2java] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

I try to add directory with log4j.properties file in ant classpath but nothing. I always get these warnings.