Repository: logging-log4j2 Updated Branches: refs/heads/master 176d06b8c -> 5b244e622
Javadoc. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/5b244e62 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/5b244e62 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/5b244e62 Branch: refs/heads/master Commit: 5b244e622f6ce1b0170b462f9c7eb82f0568500d Parents: 176d06b Author: Gary Gregory <[email protected]> Authored: Sun Apr 19 20:57:50 2015 -0700 Committer: Gary Gregory <[email protected]> Committed: Sun Apr 19 20:57:50 2015 -0700 ---------------------------------------------------------------------- .../main/java/org/apache/logging/log4j/core/LoggerContext.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/5b244e62/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java index fd33844..d0e485f 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java @@ -434,7 +434,9 @@ public class LoggerContext extends AbstractLifeCycle implements org.apache.loggi } /** - * Reconfigure the context. + * Reconfigure the context. Log4j does not remove Loggers during a reconfiguration. Log4j will create new + * LoggerConfig objects and Log4j will point the Loggers at the new LoggerConfigs. Log4j will free the old + * LoggerConfig, along with old Appenders and Filters. */ public void reconfigure() { reconfigure(configLocation);
