Commit 49e0ddef authored by michael.simon's avatar michael.simon
Browse files

change template renderer to correctly initialize velocity

parent f05e4386
......@@ -10,11 +10,10 @@
package edu.kit.scc.webreg.service.mail;
import java.util.Map;
import javax.ejb.Singleton;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import org.apache.velocity.VelocityContext;
......@@ -26,7 +25,7 @@ import org.slf4j.Logger;
import edu.kit.scc.webreg.exc.TemplateRenderingException;
public class TemplateRenderer {
......@@ -38,6 +37,8 @@ public class TemplateRenderer {"Initializing Velocity Engine");
engine = new VelocityEngine();
engine.setProperty("runtime.log.logsystem.log4j.logger", "root");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment