log4j + methods