Log all queries against a given database table

How can I set up logging for all queries run against a given database object/table? Or, how do I see a longer list of queries being run than what is shown on the status page of the gateway? I have a db table that is written to by multiple projects, but I need to know what is being written from which projects or clients.

Thanks.

Use the database's own logging tools. Most have very sophisticated filtering and detail options.