use one thread for all logger