Log the DDL commands with DEBUG level by ConnectionBus_DDL log node or something - Mendix Forum

Log the DDL commands with DEBUG level by ConnectionBus_DDL log node or something

10

Sometimes we wonder why a table with data vanished from a Live DB.

Having the executed DDLs in the log would help in troubleshooting.

This could be logged with DEBUG level by ConnectionBus_DDL log node.

A separate log node is necessary to separate startup DEBUG messages from operational DEBUG messages.


I didn't find anything about DDL at https://docs.mendix.com/refguide/logging/

Only if DDL fails then the commands are logged with the M2EE node. I tried to change M2EE level to trace but it doesn't enable logging when there's no error. I also tried changing levels in ConnectionBus_Synchronize with no useful outcome.


BTW, why is ConnectionBus_Synchronize deprecated?

asked
0 answers