How to view a SQL generated by Tableau Desktop?

C:UsersMyDocumentsMy Tableau Repository contains Tableau Desktop Log files. Check the log.txt and tabprotosrv.txt files if we have a live connection to the data source. If we’re going to use Extract, we’ll need to look at the tdeserver.txt file. The tabprotosrv.txt file frequently contains comprehensive query information.