diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/log/StdErrLog.java b/jetty-util/src/main/java/org/eclipse/jetty/util/log/StdErrLog.java index c0e0e8921c2..8abccfbda15 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/log/StdErrLog.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/log/StdErrLog.java @@ -27,7 +27,7 @@ import org.eclipse.jetty.util.annotation.PermissionNote; public class StdErrLog implements Logger { private static DateCache _dateCache; - @PermissionNote(clazz = "java.util.PropertyPermission", name="org.eclipse.jetty.util.log.DEBUG", actions="read" ) + private static boolean _debug = System.getProperty("org.eclipse.jetty.util.log.DEBUG",null)!=null; private String _name; private boolean _hideStacks=false;