You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2026/07/02 02:24:19 UTC

(grails-core) 01/01: Clarify exception resolver request logging metadata

This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch fix/request-logging-metadata-default
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 4febf42889d0c339eac698aa02cd98d571576499
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Wed Jul 1 22:22:05 2026 -0400

    Clarify exception resolver request logging metadata
    
    The runtime default is environment-dependent: request parameters log in development and remain disabled otherwise. Remove the unconditional metadata default and describe the actual behavior.
    
    Assisted-by: Hephaestus:openai/gpt-5.5 oracle codex-review
---
 .../src/main/resources/META-INF/spring-configuration-metadata.json     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/grails-web-core/src/main/resources/META-INF/spring-configuration-metadata.json b/grails-web-core/src/main/resources/META-INF/spring-configuration-metadata.json
index 1dd9840914..a3105dc844 100644
--- a/grails-web-core/src/main/resources/META-INF/spring-configuration-metadata.json
+++ b/grails-web-core/src/main/resources/META-INF/spring-configuration-metadata.json
@@ -109,8 +109,7 @@
         {
             "name": "grails.exceptionresolver.logRequestParameters",
             "type": "java.lang.Boolean",
-            "description": "Whether to log request parameters in exception stack traces.",
-            "defaultValue": true
+            "description": "Whether to log request parameters in exception stack traces. Defaults to true in development and false otherwise."
         },
         {
             "name": "grails.exceptionresolver.params.exclude",