We can add a log of SQL queries (while we are working in logging - thats not about performance but about debugging)
At workshop I shown it can be done actually for postgresql using the JVM parameter:
But suggested that it would be more useful if that can be configured in a running server, so, this ticket is about to explore that new option.
Closing as lack of interest from community.
There are several workarounds for this:
as explained it can be added as a JVM parameter (or added in idempiereInit.properties)
but this can also be achieved in postgresql logging - useful for tuning and/or audit purposes