glu
glu copied to clipboard
No AuditLog when installing glu on PostgreSQL
The steps to reproduce are the following:
- download fresh install of glu
- before starting the tutorial, replace the database with PostgreSQL
- start the tutorial
- note that there is no entries inserted in the audit log table
see http://glu.977617.n3.nabble.com/Migrating-from-HSQLDB-to-PostgresSQL-td4025043.html for reference
Almost no entry actually. Trying to login with a different user will create 'user.create' entries from the console user in the audit log, but there will be no other entries, most notably the actual 'login' action will be missing.
In AuditLog.groovy, add "flush: true" when saving.