From 41124905be8ba71187de8e0f418042911c231194 Mon Sep 17 00:00:00 2001 From: Daniel Gerhardt <code@dgerhardt.net> Date: Tue, 14 Aug 2018 12:14:33 +0200 Subject: [PATCH] Set custom log level for development Jetty server --- pom.xml | 7 ++++++- src/main/webapp/WEB-INF/web-dev.xml | 10 ---------- 2 files changed, 6 insertions(+), 11 deletions(-) delete mode 100644 src/main/webapp/WEB-INF/web-dev.xml diff --git a/pom.xml b/pom.xml index e92086cc7..27336f90a 100644 --- a/pom.xml +++ b/pom.xml @@ -404,9 +404,14 @@ <configuration> <scanIntervalSeconds>0</scanIntervalSeconds> <webApp> - <overrideDescriptor>src/main/webapp/WEB-INF/web-dev.xml</overrideDescriptor> <webInfIncludeJarPattern>^$</webInfIncludeJarPattern> </webApp> + <systemProperties> + <systemProperty> + <name>arsnova.log.level</name> + <value>DEBUG</value> + </systemProperty> + </systemProperties> </configuration> </plugin> <plugin> diff --git a/src/main/webapp/WEB-INF/web-dev.xml b/src/main/webapp/WEB-INF/web-dev.xml deleted file mode 100644 index bd683b80d..000000000 --- a/src/main/webapp/WEB-INF/web-dev.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns="http://java.sun.com/xml/ns/javaee" - xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" - id="WebApp_ID" version="3.0"> - <context-param> - <param-name>log4jConfigLocation</param-name> - <param-value>/WEB-INF/classes/log4j-dev.properties</param-value> - </context-param> -</web-app> -- GitLab