logging in yaml