fixed a bug about wrong return type of logdb service method