Make lognodes a standard element of a module - Mendix Forum

Make lognodes a standard element of a module

14

Actually this is a better idea: https://community.mendix.com/link/ideas/2446

Adding log node names is a cumbersome process. You need to create an enumeration, add “getKey(YourModule.Enum_YourLogNode.Name)” at Log node name, add each new “lognode.name” to your ASu to make it show up in the list of log nodes. See the learning path https://academy.mendix.com/link/path/104/Logging-1 for exact details.

Idea: Let each module, by default, have one or a list of log nodes that you can use. For instance, added to the ProjectExplorer just below Security.

Clicking ‘LogNodeNames’ would show the list of names available in this module. Modifiable at will.
When adding a message or log activity in the microflows, you can pick any of the available log nodes using a dropdown (instead of the current text-field).

The list will automatically be added to the log levels shown in the console.

asked
2 answers

Thank you for the link to the logging course.
Astonished that logging can be so complex.

Created

See also https://forum.mendix.com/link/ideas/297.

Created