Robert Oschwald

Results 89 comments of Robert Oschwald

any news on this @msg4ashis ?

@dmahapatro I think setting in applicationContext config is too late at that point. See the new TruncateSpec how I change it directly in the listeners. https://github.com/robertoschwald/grails-audit-logging-plugin/blob/master/audit-test/src/integration-test/groovy/test/AuditTruncateSpec.groovy#L136 Please mark it the...

feel free to send in a PR.

In the AuditLoggingGrailsPlugin descriptor, we register an AuditLogListener per DataSource. So you need to enable multi tenancy in the audit-test sub-project's AuditTrail domain class, as you write tests for this...

robertoschwald said: Maybe we should switch to withNewTransaction to decouple audit logging from the main transaction.

bdrhoa said: If I understand what you're saying correctly, then we would in fact have two separate transactions, one for the application transaction and one to create the audit record....