In SQL test logger, add a queue to hold the log string, and create a thread to write the string to file.