buffer used for yn_function
disabled logging by default