Better test on queues list
Create logger globally