Disabled patching of table query contents and improved logging to trace user