Why do you need to set “APP_USER = X”? Is it because the app connects to the DB with a generic user and you need to differentiate each user?
Currently audit log does log every CRUD (and every other operation) and prints user@host that executed it, but no way of printing any extra details or status variables other than what it currently prints.