Repository: logging-log4j-boot Updated Branches: refs/heads/master 874ef14c4 -> 3643f4b9e
Add note about custom log file name Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-boot/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-boot/commit/f5316ce7 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-boot/tree/f5316ce7 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-boot/diff/f5316ce7 Branch: refs/heads/master Commit: f5316ce7ace33d957975ff62b6f074d09239b610 Parents: 874ef14 Author: Matt Sicker <[email protected]> Authored: Sun Jan 15 15:41:08 2017 -0600 Committer: Matt Sicker <[email protected]> Committed: Sun Jan 15 15:41:08 2017 -0600 ---------------------------------------------------------------------- .../org/apache/logging/log4j/boot/spring/Log4jLoggingSystem.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j-boot/blob/f5316ce7/spring/src/main/java/org/apache/logging/log4j/boot/spring/Log4jLoggingSystem.java ---------------------------------------------------------------------- diff --git a/spring/src/main/java/org/apache/logging/log4j/boot/spring/Log4jLoggingSystem.java b/spring/src/main/java/org/apache/logging/log4j/boot/spring/Log4jLoggingSystem.java index e0bad83..be7120b 100644 --- a/spring/src/main/java/org/apache/logging/log4j/boot/spring/Log4jLoggingSystem.java +++ b/spring/src/main/java/org/apache/logging/log4j/boot/spring/Log4jLoggingSystem.java @@ -135,7 +135,8 @@ public class Log4jLoggingSystem extends AbstractLoggingSystem { @Override protected void loadConfiguration(final LoggingInitializationContext context, final String location, - final LogFile file) { + final LogFile ignored) { + // log file name is available via ${sys:LOG_FILE} (see log4j2-file.xml default config) final URI configLocation = NetUtils.toURI(location); loggerContext = (LoggerContext) LogManager.getContext( getClassLoader(), false, this, configLocation);
