[db] format log messages consistently
[db] fix fuzzy results printer