kalua: db: lock() more logging (what and how has a lock)