codeconsole commented on PR #15564:
URL: https://github.com/apache/grails-core/pull/15564#issuecomment-4227497311
> Yeah, I think this is just "debug" output in case something is being
truncated. I think instead of making this change we should just set `<logger
name="StackTrace" level="OFF" />` by default. Then if people need the more
detailed loggign, they can still obtain it.
I am fully aware that `<logger name="StackTrace" level="OFF" />`. Why would
you ever want to force that requirement?
What other framework defaults to printing a stack trace 4x? Micronaut?
Spring Boot? Anything??
We need sensible defaults. If someone really wants to eat up their logs,
they can just create their own
```
public class MultiLoggingExceptionResolver extends GrailsExceptionResolver {
// code displays exception 4 times.
}
```
and register it
@jdaugherty, in @matrei examples above, what information does the 4x version
have that the 1x version does not?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]