Revision a27635bd
Added by Andreas Müller almost 2 years ago
src/main/java/eu/etaxonomy/cdm/addon/config/CdmVaadinConfiguration.java | ||
---|---|---|
14 | 14 |
|
15 | 15 |
import javax.servlet.annotation.WebServlet; |
16 | 16 |
|
17 |
import org.apache.log4j.Logger; |
|
17 |
import org.apache.logging.log4j.LogManager; |
|
18 |
import org.apache.logging.log4j.Logger; |
|
18 | 19 |
import org.hibernate.SessionFactory; |
19 | 20 |
import org.hibernate.event.service.spi.EventListenerRegistry; |
20 | 21 |
import org.hibernate.event.spi.EventType; |
... | ... | |
90 | 91 |
@CdmHibernateListener // enable the configuration which activates the TaxonGraphHibernateListener bean |
91 | 92 |
public class CdmVaadinConfiguration implements ApplicationContextAware { |
92 | 93 |
|
94 |
private final static Logger logger = LogManager.getLogger(); |
|
95 |
|
|
93 | 96 |
public static final String CDM_VAADIN_UI_ACTIVATED = "cdm-vaadin.ui.activated"; |
94 | 97 |
public static final String CDM_SERVICE_MINTER_REGSTRATION_MINID = "cdm.service.minter.registration.minLocalId"; |
95 | 98 |
public static final String CDM_SERVICE_MINTER_REGSTRATION_MAXID = "cdm.service.minter.registration.maxLocalId"; |
96 | 99 |
public static final String CDM_SERVICE_MINTER_REGSTRATION_IDFORMAT = "cdm.service.minter.registration.identifierFormatString"; |
97 | 100 |
|
98 |
public static final Logger logger = Logger.getLogger(CdmVaadinConfiguration.class); |
|
99 | 101 |
|
100 | 102 |
@Autowired |
101 | 103 |
private Environment env; |
Also available in: Unified diff
ref #10072 adapt vaadin to log4j2 and cleanup