Subject RE: [ib-support] Audit Trail/Log implementation (or How to loop through fields)
Author Thomas Steinmaurer
> > Thomas Steinmaurer provides an inexpensive tool called
> IBLogmanager which
> > will create all triggers and logging tables automatically for
> > you. Takes you a few minutes no matter how complex your DB-Design is.
> > Works quite good and has a nice UI.
> Thank you for the pointer. But the "inexpensive" part is probably
> open for debate...:) You have to pay additional license

If you have any questions about licensing, then feel free to contact
me privately. (ts@...)

> The problem is that it's "hard coded".
> When someone (maybe you) come and modify your table structure (adding a
> column,
> etc), it will break the logging functionality; or force you to modify the
> triggers
> itself, hence the idea of using IB's metadata (if possible) instead of
> hard-coded
> field and table names.

IBLM 2.0 provides a very easy to use UI. If you add a new column to one of
your table, within IBLM 2.0 this column is shown as "not registered for
logging".
Double-click the column name for the specific data manipulation operation
delete/insert/update and IBLM 2.0 ensures, that the trigger is recreated
properly.

> AFAIK, there are two general approach on the logging data itself,
> either you create identical copy of your actual tables for
> dumping the data,
> or we could use a central log table for all the logged activities. I use
> the second approach because it only uses one or two additional tables.

IBLM 2.0 uses the second approach too ...

We should discuss any IBLM related things up now privately (if you like).


Regards,
Thomas Steinmaurer
IB LogManager 2.0 - The Logging Tool for Interbase/Firebird
http://www.iblogmanager.com