Log4j and resources