Extend the Stack trace with the variables and their values - Mendix Forum

Extend the Stack trace with the variables and their values

2

Log messages can contain a stack trace. That's nice and very useful, but I would like them to go one step further and Extend the given information in the stack trace with the variables and their values. Even if they contain objects, please hand me their content in any way possible, stringified, JSON, XML, as long as I can see the content.

Most important are the values that caused the exception.

Also nice would be all available variables, as long as it does not bloat the logsize too much.

This addition would save us developers the trouble of finding out the exact circumstances under which the exception has taken place and will make root cause analysis easier.

 

asked
1 answers

You would introduce some privacy and security issues with this that I am not sure you would be able to deal with without making the whole thing way too complex.

Created