I need to log queries, not only inserts/updates/deletes but also selects and other queries, from a number of applications that use SQLite. Introducing logging to the applications would in this case not be a feasible solution in practice. So how can I enable query logging in SQLite itself?
I need to log queries, not only inserts/updates/deletes but also selects and other queries,
Share
Take a look at the sqlite Trace API. You have to implement the callback yourself.