output command_queue logs to a file