Check this if you want to use your own logging solution using Log4j configuration.