Update createlogobj method and spec