add support for handling log queue