Added queue logging