more slf4j logging in tests/jetty-ee10-test-maven-plugin

This commit is contained in:
Joakim Erdfelt 2022-07-19 11:47:09 -05:00
parent e84b84e09c
commit f50aeff646
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
3 changed files with 24 additions and 2 deletions

View File

@ -83,6 +83,13 @@
<plugin>
<groupId>org.eclipse.jetty.ee10</groupId>
<artifactId>jetty-ee10-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-slf4j-impl</artifactId>
<version>${jetty.version}</version>
</dependency>
</dependencies>
<configuration>
<stopPort>@jetty.stopPort@</stopPort>
<stopKey>@jetty.stopKey@</stopKey>
@ -102,7 +109,7 @@
<jetty.port.file>${jetty.port.file}</jetty.port.file>
<jetty.http.port>0</jetty.http.port>
</jettyProperties>
<modules>ee10-apache-jsp,ee10-glassfish-jstl,ee10-testmod</modules>
<modules>ee10-apache-jsp,ee10-glassfish-jstl,ee10-testmod,resources</modules>
<jettyOptions>--debug</jettyOptions>
</configuration>
</execution>

View File

@ -0,0 +1,8 @@
# Jetty Logging using jetty-slf4j-impl
org.eclipse.jetty.LEVEL=INFO
#org.eclipse.jetty.deploy.LEVEL=DEBUG
#org.eclipse.jetty.server.LEVEL=DEBUG
#org.eclipse.jetty.ee10.servlet.LEVEL=DEBUG
#org.eclipse.jetty.io.SocketChannelEndPoint.LEVEL=DEBUG
#org.eclipse.jetty.server.DebugListener.LEVEL=DEBUG
#org.eclipse.jetty.server.internal.HttpChannelState.LEVEL=DEBUG

View File

@ -99,6 +99,13 @@
<plugin>
<groupId>org.eclipse.jetty.ee10</groupId>
<artifactId>jetty-ee10-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-slf4j-impl</artifactId>
<version>${jetty.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>start-jetty</id>
@ -119,7 +126,7 @@
<jetty.port.file>${jetty.port.file}</jetty.port.file>
<jetty.http.port>0</jetty.http.port>
</jettyProperties>
<modules>ee10-apache-jsp,ee10-glassfish-jstl,ee10-testmod</modules>
<modules>ee10-apache-jsp,ee10-glassfish-jstl,ee10-testmod,resources</modules>
</configuration>
</execution>
</executions>