fix run task logging buffer