log time and queue length