Browse Source

Make Jetty use jul even though the slf4j api is on the classpath

Change-Id: I7a01bb964bd1d73614a5a9fd08405b871f5382ca
tags/7.6.0.alpha2
Leif Åstrand 9 years ago
parent
commit
4bf49ed631
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java

+ 3
- 0
uitest/src/com/vaadin/launcher/DevelopmentServerLauncher.java View File

@@ -49,6 +49,7 @@ import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.nio.SelectChannelConnector;
import org.eclipse.jetty.server.ssl.SslSocketConnector;
import org.eclipse.jetty.util.Scanner;
import org.eclipse.jetty.util.log.JavaUtilLog;
import org.eclipse.jetty.util.ssl.SslContextFactory;
import org.eclipse.jetty.webapp.WebAppContext;

@@ -74,6 +75,8 @@ public class DevelopmentServerLauncher {
*/
public static void main(String[] args) {
System.setProperty("java.awt.headless", "true");
System.setProperty("org.eclipse.jetty.util.log.class",
JavaUtilLog.class.getName());

assertAssertionsEnabled();


Loading…
Cancel
Save