Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Here are the steps you should follow to enable lab management logs at the server side.
- Run query on configuration database (typically Tfs_Configuration)
DECLARE @Id UNIQUEIDENTIFIER = NEWID()
EXEC prc_CreateTrace @traceId = @Id , @area=’LabManagement’, @level=4
Start the ETW trace listener on the AT machine
logman -ets start TraceSession -p "Microsoft-Team Foundation Server"
<repro issue>
Stop the ETW trace listener.
logman -ets stop TraceSession
- Dump the log files.
tracerpt TraceSession.etl
Input
----------------
File(S):
TraceSession.etl
100.00%
Output
----------------
DumpFile: dumpfile.xml
Summary: summary.txt
The command completed successfully.
- You will observe the log file (dumpfile.xml) in C:\Windows\System32 directory and that contains all the logs.
Enjoy !!