The logger should be private and there is method to create it private static final Log log = LoggerFactory.getLogger();