Page 1 of 1

Disable audit logging

PostPosted: Mon Dec 11, 2017 5:22 pm
by robrecht
Hi,

How can I disable Servoy's audit logging?
I removed the "log server" property in the database settings, restarted Servoy and after that this error keeps coming :

2017-12-11 16:17 pool-1-thread-6 ERROR com.servoy.j2db.util.Debug Log server needed for tracking not defined or cannot be reached

Thanks
Robrecht

Re: Disable audit logging

PostPosted: Mon Dec 11, 2017 5:32 pm
by rvanderburg
Robrecht,

You need to turn off logging in your security settings on the whole db or per table. This is where you define what to log.

Re: Disable audit logging

PostPosted: Mon Dec 11, 2017 5:45 pm
by robrecht
Hi Ron,

I checked these settings but none of my db's or tables had the tracking enabled
Apparently we set this in code as well with

Code: Select all
_row_audit_trail = new Array()
_row_audit_trail[0] = _server_table_name
_row_audit_trail[1] = JSSecurity.READ | JSSecurity.INSERT | JSSecurity.UPDATE | JSSecurity.DELETE | JSSecurity.TRACKING;         
_ds_audit_trail.addRow(_row_audit_trail)
security.setSecuritySettings(_ds_audit_trail);   


Removing this code did the trick

Thanks for your help