smtpAppenderInstance.setTo(databaseBackedConfig
.getLogEventsDestinationEmailAddress());
// TODO use hostname, not URL
smtpAppenderInstance.setSubject("%p log message from Zanata at "
+ this.getServerPath());
smtpAppenderInstance.setLayout(new ZanataHTMLLayout());
// smtpAppenderInstance.setLayout(new
// PatternLayout("%-5p [%c] %m%n"));
smtpAppenderInstance
.setThreshold(Level.toLevel(getEmailLogLevel()));
smtpAppenderInstance.setTimeout(60); // will aggregate identical