Skip to content

Commit

Permalink
* change degree-core-test-logging to logback
Browse files Browse the repository at this point in the history
* remove hack to include logback.xml in war but not in classes.jar
  • Loading branch information
stephanr committed Jun 6, 2024
1 parent f73be9c commit bedb0a9
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 39 deletions.
4 changes: 2 additions & 2 deletions deegree-core/deegree-core-test-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
</dependencies>

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%date %level %logger{1} [%thread] %msg%n</pattern>
</encoder>
</appender>

<!--
<logger name="org.deegree" level="INFO"/>
-->

<root level="WARN">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE" />
</root>
</configuration>
24 changes: 0 additions & 24 deletions deegree-services/deegree-webservices/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,30 +37,6 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>generate-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/${project.artifactId}-${project.version}/WEB-INF/classes</outputDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/log4j2.properties</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
Expand Down

0 comments on commit bedb0a9

Please sign in to comment.