To enable tracing place below code in –“Register” method of WebAPIConfig.cs file.config.EnableSystemDiagnosticsTracing();