Here are the steps which you should perform to enable mstest logs.
1. Go to your mstest installation directory via an administrator command prompt. (typically the installation directory is something like C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\).
2. Open the mstest configuration file (mstest.exe.config) and add a snippet similar to the one shown below under the configuration node. Make sure that the path you have specified exists and you have appropriate permissions for it.
<trace autoflush="true" indentsize="4">
<add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="c:\temp\MSTest.log" />
<!– You must use integral values for "value". Use 0 for off, 1 for error, 2 for warn, 3 for info, and 4 for verbose. –>
<add name="EqtTraceLevel" value="4" />
3. Save the configuration file and try running a test.
After this a log file at the above mentioned path should get generated.