cake log postLog method update