Implements logQueue