Hello,

is there any better way, if re-compiling system provided library is not an 
option, to log sqlite commands, than using something similar to this LD_PRELOAD 
shim?
https://github.com/smarek/sqlite3-preload

I've read https://www.sqlite.org/debugging.html
Apart from compile-time debug options, this page mentions option to use GDB, 
but nothing quite similar to what the shim does, which is (for now) logging 
prepared statement (orig_sqlite3_prepare_v2) and bound text 
(orig_sqlite3_bind_text), with full STMT logging using orig_sqlite3_expanded_sql

With different DB systems, one can use built-in logging, TCP sniffing, etc.

Is there any better way to do this, with SQLite ? Should there be?

Thank you
Marek Sebera

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to