cleanup require logdb