dbstruct adjust log messages and surplus checker