Prototype logging to sqlite
Upgrade sqlite support enhancements