added logging to yarn