Revision 62526
Added by Katerina Iatropoulou over 1 year ago
EmailScheduler.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.data.emailSender; |
2 | 2 |
|
3 |
import org.apache.log4j.Logger; |
|
3 |
import org.apache.logging.log4j.LogManager; |
|
4 |
import org.apache.logging.log4j.Logger; |
|
4 | 5 |
import org.springframework.beans.factory.annotation.Autowired; |
5 | 6 |
import org.springframework.web.context.support.WebApplicationContextUtils; |
6 | 7 |
|
... | ... | |
21 | 22 |
public class EmailScheduler implements ServletContextListener { |
22 | 23 |
|
23 | 24 |
private int delay = 0; |
24 |
private final Logger logger = Logger.getLogger(EmailScheduler.class); |
|
25 |
private final Logger logger = LogManager.getLogger(EmailScheduler.class);
|
|
25 | 26 |
|
26 | 27 |
private static boolean sendEmailNotifications; |
27 | 28 |
|
Also available in: Unified diff
log4j2 integrated + uoa-global-parent