From 9bdd76b43f1502aeabb63903cc7ede2c5dcdd063 Mon Sep 17 00:00:00 2001 From: Matt Sicker Date: Sun, 26 Jan 2014 16:45:47 -0600 Subject: [PATCH 1/2] Fix weird usage of StatusLogger. --- .../src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java b/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java index 05d96ed..ce32ec0 100644 --- a/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java +++ b/log4j-api/src/main/java/org/apache/logging/log4j/util/PropertiesUtil.java @@ -151,7 +151,7 @@ public class PropertiesUtil { try { return new Properties(System.getProperties()); } catch (final SecurityException ex) { - StatusLogger.getLogger().error("Unable to access system properties."); + LOGGER.error("Unable to access system properties."); // Sandboxed - can't read System Properties return new Properties(); } -- 1.8.5.3