Hi,
I am building an application where the audit logs will be a significant percentage of the data stored. So I am thinking that I should define an external database for storing these logs - they will be tens of millions of rows.
I will need two tables - one for the audit logs created whilst AwareIM is in test mode, and another for the audit logs created whilst AwareIM is in production mode.
My question is, how do I know what operational mode the application is in, so I can know which table to write to? I've had a look at the functions, but can't see anything there.
Any thoughts, or a better solution, would be appreciated.