adding logging to determine queue type