From 9f0c00ce216b1e996fbac8bb31d76128c2bffdfb Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Fri, 29 Sep 2023 08:47:17 +0200 Subject: [PATCH] Revise logging section to align with the removal of logback groovy configuration. --- src/en/guide/conf/config/logging.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/en/guide/conf/config/logging.adoc b/src/en/guide/conf/config/logging.adoc index 7ee21abf9ad..5d750c336ab 100644 --- a/src/en/guide/conf/config/logging.adoc +++ b/src/en/guide/conf/config/logging.adoc @@ -1,5 +1,5 @@ -Since Grails 3.0, logging is handled by the http://logback.qos.ch[Logback logging framework] and can be configured with the `grails-app/conf/logback.groovy` file. +Since Grails 3.0, logging is handled by the http://logback.qos.ch[Logback logging framework] and can be configured with the `grails-app/conf/logback.xml` file. -NOTE: If you prefer XML you can replace the `logback.groovy` file with a `logback.xml` file instead. +NOTE: Since Grails 5.1.2 support for groovy configuration (`grails-app/conf/logback.groovy`) has been removed (by logback 1.2.9). It is possible to add back groovy configuration by adding the https://github.com/virtualdogbert/logback-groovy-config[logback-groovy-config] library to your project. For more information on configuring logging refer to the http://logback.qos.ch/manual/groovy.html[Logback documentation] on the subject. \ No newline at end of file