diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/log/JavaUtilLog.java b/jetty-util/src/main/java/org/eclipse/jetty/util/log/JavaUtilLog.java
index 464ed52d1df..19ecf110395 100644
--- a/jetty-util/src/main/java/org/eclipse/jetty/util/log/JavaUtilLog.java
+++ b/jetty-util/src/main/java/org/eclipse/jetty/util/log/JavaUtilLog.java
@@ -126,11 +126,8 @@ public class JavaUtilLog implements Logger
if (bracesIndex < 0)
{
builder.append(msg.substring(start));
- if (arg != null)
- {
- builder.append(" ");
- builder.append(arg);
- }
+ builder.append(" ");
+ builder.append(arg);
start = msg.length();
}
else
diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java b/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java
index 775fcd54a15..0eeab95c863 100644
--- a/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java
+++ b/jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java
@@ -4,25 +4,24 @@
// All rights reserved. This program and the accompanying materials
// are made available under the terms of the Eclipse Public License v1.0
// and Apache License v2.0 which accompanies this distribution.
-// The Eclipse Public License is available at
+// The Eclipse Public License is available at
// http://www.eclipse.org/legal/epl-v10.html
// The Apache License v2.0 is available at
// http://www.opensource.org/licenses/apache2.0.php
-// You may elect to redistribute this code under either of these licenses.
+// You may elect to redistribute this code under either of these licenses.
// ========================================================================
package org.eclipse.jetty.util.log;
+
import java.lang.reflect.Method;
import java.security.AccessController;
import java.security.PrivilegedAction;
import org.eclipse.jetty.util.Loader;
-
-
-/*-----------------------------------------------------------------------*/
-/** Logging.
- * This class provides a static logging interface. If an instance of the
+/**
+ * Logging.
+ * This class provides a static logging interface. If an instance of the
* org.slf4j.Logger class is found on the classpath, the static log methods
* are directed to a slf4j logger for "org.eclipse.log". Otherwise the logs
* are directed to stderr.
@@ -30,62 +29,55 @@ import org.eclipse.jetty.util.Loader;
* The "org.eclipse.jetty.util.log.class" system property can be used
* to select a specific logging implementation.
*
- * If the system property org.eclipse.jetty.util.log.IGNORED is set,
+ * If the system property org.eclipse.jetty.util.log.IGNORED is set,
* then ignored exceptions are logged in detail.
- *
+ *
* @see StdErrLog
* @see Slf4jLog
*/
-public class Log
-{
- private static final String[] __nestedEx =
- {"getTargetException","getTargetError","getException","getRootCause"};
- /*-------------------------------------------------------------------*/
- private static final Class[] __noArgs=new Class[0];
+public class Log
+{
public final static String EXCEPTION= "EXCEPTION ";
public final static String IGNORED= "IGNORED";
- public final static String IGNORED_FMT= "IGNORED: {}";
- public final static String NOT_IMPLEMENTED= "NOT IMPLEMENTED ";
-
+
public static String __logClass;
public static boolean __ignored;
-
+
static
{
- AccessController.doPrivileged(new PrivilegedAction()
+ AccessController.doPrivileged(new PrivilegedAction