Category Archives: Log4j

Custom logger for directing logs in different file

Posted in Log4j | Leave a comment

org.slf4j.impl.StaticLoggerBinder problem with hibernate and log4j and its solution

Posted in Hibernate Framework, Log4j | Leave a comment

log4j configuration beginners level

Just save this file in log4j.xml and put in the classpath anywhere in your src folder of the project. And just use log4j apis like: public class DefaultFooService implements FooService { private static Logger logger=Logger.getLogger(DefaultFooService.class); public Foo getFoo(String fooName) { … Continue reading

Posted in Log4j | Leave a comment