remove unnecessarily $apply method for initializing logdb instance