Log4j2: SMTPAppender does not send mails with error or fatal level
I recognized some problems with the SMTPAppender in log4j2. Whenever log events with the level error or fatal are created without having an event with the level info before no mail is sent and the fatal event disappears. Here is my log4j2 configuration file (log4j2.xml) and a small program (LogTest.java) to reproduce the problem: <?xml version="1.0" encoding="UTF-8"?> <configuration status="warn"> <!-- mail server configuration --> <properties> <property name="receipients">me@example.com</property> <property name="from">me@example.com</property> <property name="smtpHost">smtp.example.com<