catch if log4j do not exist