added queue length log into flows