In some situations, I would like to get an exception, but still show the stack trace in the stackTrace log defined using the Log4J properties in grails. How can i do this?
I know that I can write it to a "normal" log using log.error myException.stackTrace, for example, but I do not want the stack trace filling my regular log file.
source
share