478372 - JavaUtilLog setSourceClass and setSourceMethod

Log ignored only if log level is all
turn off java util logging in embedded examples
This commit is contained in:
Greg Wilkins 2015-09-30 16:24:11 +10:00
parent 697b0cccf2
commit 540b33e64c
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
org.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLog
org.eclipse.jetty.util.log.javautil.PROPERTIES=java-util-logging.properties
#org.eclipse.jetty.util.log.class=org.eclipse.jetty.util.log.JavaUtilLog
#org.eclipse.jetty.util.log.javautil.PROPERTIES=java-util-logging.properties
#org.eclipse.jetty.util.log.SOURCE=true
org.eclipse.jetty.LEVEL=INFO
org.eclipse.jetty.STACKS=true

View File

@ -255,7 +255,7 @@ public class JavaUtilLog extends AbstractLogger
public void ignore(Throwable ignored)
{
if (_logger.isLoggable(Level.WARNING))
if (_logger.isLoggable(Level.ALL))
log(Level.WARNING,Log.IGNORED,ignored);
}