unified and better log/error messages for CDBEnv/CDB