fixed typo in debug status message Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/2a853aa8 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/2a853aa8 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/2a853aa8
Branch: refs/heads/LOG4J2-1161 Commit: 2a853aa87af2fa73679fbb47954e3559c77ddae3 Parents: 3da6c31 Author: rpopma <rpo...@apache.org> Authored: Thu Oct 22 09:14:49 2015 +0900 Committer: rpopma <rpo...@apache.org> Committed: Thu Oct 22 09:14:49 2015 +0900 ---------------------------------------------------------------------- .../org/apache/logging/log4j/web/Log4jWebInitializerImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/2a853aa8/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jWebInitializerImpl.java ---------------------------------------------------------------------- diff --git a/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jWebInitializerImpl.java b/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jWebInitializerImpl.java index 02f17fe..b54bf0f 100644 --- a/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jWebInitializerImpl.java +++ b/log4j-web/src/main/java/org/apache/logging/log4j/web/Log4jWebInitializerImpl.java @@ -163,7 +163,7 @@ final class Log4jWebInitializerImpl extends AbstractLifeCycle implements Log4jWe String configLocation = location; if (configLocation == null) { final String[] paths = SetUtils.prefixSet(servletContext.getResourcePaths(WEB_INF), WEB_INF + "log4j2"); - LOGGER.debug("getConfigURI found resource paths {} in servletConext at [{}]", Arrays.toString(paths), WEB_INF); + LOGGER.debug("getConfigURI found resource paths {} in servletContext at [{}]", Arrays.toString(paths), WEB_INF); if (paths.length == 1) { configLocation = paths[0]; } else if (paths.length > 1) { @@ -185,7 +185,7 @@ final class Log4jWebInitializerImpl extends AbstractLifeCycle implements Log4jWe final URL url = servletContext.getResource(configLocation); if (url != null) { final URI uri = url.toURI(); - LOGGER.debug("getConfigURI found resource [{}] in servletConext at [{}]", uri, configLocation); + LOGGER.debug("getConfigURI found resource [{}] in servletContext at [{}]", uri, configLocation); return uri; } } @@ -195,7 +195,7 @@ final class Log4jWebInitializerImpl extends AbstractLifeCycle implements Log4jWe if (location != null) { try { final URI correctedFilePathUri = NetUtils.toURI(location); - LOGGER.debug("getConfigURI found [{}] in servletConext at [{}]", correctedFilePathUri, location); + LOGGER.debug("getConfigURI found [{}] in servletContext at [{}]", correctedFilePathUri, location); return correctedFilePathUri; } catch (final Exception e) { LOGGER.error("Unable to convert configuration location [{}] to a URI", location, e);