logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpo...@apache.org
Subject [14/15] logging-log4j2 git commit: LOG4J2-1010 change system property prefix to log4j2
Date Sat, 30 Jul 2016 13:03:30 GMT
LOG4J2-1010 change system property prefix to log4j2


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/e91f1695
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/e91f1695
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/e91f1695

Branch: refs/heads/LOG4J2-1010&LOG4J2-1447-injectable-contextdata&better-datastructure
Commit: e91f1695d83500eafa9cd7d400096d11a6291c62
Parents: 271dfe0
Author: rpopma <rpopma@apache.org>
Authored: Sat Jul 30 21:59:19 2016 +0900
Committer: rpopma <rpopma@apache.org>
Committed: Sat Jul 30 21:59:19 2016 +0900

----------------------------------------------------------------------
 .../logging/log4j/core/impl/ContextDataInjectorFactory.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/e91f1695/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ContextDataInjectorFactory.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ContextDataInjectorFactory.java
b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ContextDataInjectorFactory.java
index ba9ca72..a5253cf 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ContextDataInjectorFactory.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/ContextDataInjectorFactory.java
@@ -33,7 +33,7 @@ public class ContextDataInjectorFactory {
 
     /**
      * Returns a new {@code ContextDataInjector} instance based on the value of system property
-     * {@code log4j.ContextDataInjector}. If not value was specified this method returns
a new
+     * {@code log4j2.ContextDataInjector}. If not value was specified this method returns
a new
      * {@link ThreadContextDataInjector}.
      * <p>
      * Users may use this system property to specify the fully qualified class name of a
class that implements the
@@ -42,7 +42,7 @@ public class ContextDataInjectorFactory {
      * @return a ContextDataInjector that populates the {@code ContextData} of all {@code
LogEvent} objects
      */
     public static ContextDataInjector getInjector() {
-        final String className = PropertiesUtil.getProperties().getStringProperty("log4j.ContextDataInjector");
+        final String className = PropertiesUtil.getProperties().getStringProperty("log4j2.ContextDataInjector");
         if (className == null) {
             return new ThreadContextDataInjector();
         }


Mime
View raw message