locked
Visual Studio Test Controller log file RRS feed

  • Question

  • Hi,

    I am trying to get Visual Studio Test Controller logs.  I have modified C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\QTController.exe.config file as follows and restarted Visual Studio Test Controller Service

      <switches>
          <!-- 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" />
        </switches>
      </system.diagnostics>

    I don't see any logs files in C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE folder. What is the name of log file and where should I look for it?

    Thanks


    Fiaza

    Thursday, February 27, 2014 8:05 PM

Answers

  • Hi Fiaza,

    You could add an entry like below to get the log file in a preferred location.

    <system.diagnostics>
        <trace autoflush="true" indentsize="4">
            <listeners>
                <add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="d:\VSTestHost.log" />
            </listeners>
        </trace>
        <switches>
            <!-- You must use integral values for "value":
                    0 = off, 
                    1 = error,
                    2 = warn,
                    3 = info, 
                    4 = verbose. -->
            <add name="EqtTraceLevel" value="4" />
        </switches>
    </system.diagnostics>
    

    More information in Setting the Logging Level on a Test Controller Compute

    Cheers!

    Chaminda

    Thursday, February 27, 2014 8:29 PM
  • Hi Fiaza, 

    Thanks for your post.

    I think it’s named Vsttcontroller.log, please refer to the useful information in this blog: http://blogs.msdn.com/b/aseemb/archive/2009/11/28/how-to-enable-test-controller-logs.aspx.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, February 28, 2014 6:14 AM
    Moderator

All replies

  • Hi Fiaza,

    You could add an entry like below to get the log file in a preferred location.

    <system.diagnostics>
        <trace autoflush="true" indentsize="4">
            <listeners>
                <add name="myListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="d:\VSTestHost.log" />
            </listeners>
        </trace>
        <switches>
            <!-- You must use integral values for "value":
                    0 = off, 
                    1 = error,
                    2 = warn,
                    3 = info, 
                    4 = verbose. -->
            <add name="EqtTraceLevel" value="4" />
        </switches>
    </system.diagnostics>
    

    More information in Setting the Logging Level on a Test Controller Compute

    Cheers!

    Chaminda

    Thursday, February 27, 2014 8:29 PM
  • Thanks Chaminda! Do you what is the default name and location of log file?


    Fiaza

    Thursday, February 27, 2014 9:10 PM
  • Hi Fiaza, 

    Thanks for your post.

    I think it’s named Vsttcontroller.log, please refer to the useful information in this blog: http://blogs.msdn.com/b/aseemb/archive/2009/11/28/how-to-enable-test-controller-logs.aspx.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, February 28, 2014 6:14 AM
    Moderator