Fix command API

fixes #5013
Deactivate verbose logging of database queries

fixes #5014