fix scope of  log4j