Changed log to yaml