Queue logging in scheduler