I need to customize the data logged with the SQL accounting.
The "db_extra" parameter let me ADD new fields but it seems that there is no way to REMOVE fields from the sql command. Infact, the "log_fmt" seems to affect only the syslog accounting.
Is there a way to prevent a field to be included into the SQL INSERT command?
Thanks.
Hi Federico,
the default FMT for DB logging cannot be reduced... Is this a problem? I mean you have more information than required. The problem is when you have less :)
regards, bogdan
Federico Giannici wrote:
I need to customize the data logged with the SQL accounting.
The "db_extra" parameter let me ADD new fields but it seems that there is no way to REMOVE fields from the sql command. Infact, the "log_fmt" seems to affect only the syslog accounting.
Is there a way to prevent a field to be included into the SQL INSERT command?
Thanks.