From 0a70bd44ed0b6e0b456b9a6e3e633c6f5809a1d8 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 21 Jul 2014 11:39:43 +0100 Subject: [PATCH] Correct the default Logback config location in the documentation Fixes #1247 --- .../src/main/asciidoc/appendix-application-properties.adoc | 2 +- spring-boot-docs/src/main/asciidoc/howto.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc index b0beb6777d2..51922f9a79e 100644 --- a/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc +++ b/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc @@ -43,7 +43,7 @@ content into your application; rather pick only the properties that you need. # LOGGING logging.path=/var/logs logging.file=myapp.log - logging.config= # location of config file (default classpath:/logback.xml for logback) + logging.config= # location of config file (default classpath:logback.xml for logback) logging.level.*= # levels for loggers, e.g. "logging.level.org.springframework=DEBUG" (TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF) # IDENTITY ({sc-spring-boot}/context/ContextIdApplicationContextInitializer.{sc-ext}[ContextIdApplicationContextInitializer]) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index ad0692bcb34..88afdcc90b3 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -868,7 +868,7 @@ You can also set the location of a file to log to (in addition to the console) u To configure the more fine grained settings of a logging system you need to use the native configuration format supported by the `LoggingSystem` in question. By default Spring Boot picks up the native configuration from its default location for the system (e.g. -`classpath:/logback.xml` for Logback), but you can set the location of the config file +`classpath:logback.xml` for Logback), but you can set the location of the config file using the "logging.config" property.