iis express - How can I stop IISExpress from dumping every detail of every request into the Visual Studio Output window? -


my vs 2013 output window full of this:

iisexpress.exe information: 0 : request, method=get, url=http://localhost:51741/api/clients/?$filter=uniquename eq '6269', message='http://localhost:51741/api/clients/?$filter=uniquename eq '6269'' iisexpress.exe information: 0 : message='clients', operation=defaulthttpcontrollerselector.selectcontroller iisexpress.exe information: 0 : message='myproj.controllers.clientscontroller', operation=defaulthttpcontrolleractivator.create iisexpress.exe information: 0 : message='myproj.controllers.clientscontroller', operation=httpcontrollerdescriptor.createcontroller iisexpress.exe information: 0 : message='selected action 'getclients()'', operation=apicontrolleractionselector.selectaction iisexpress.exe information: 0 : operation=httpactionbinding.executebindingasync iisexpress.exe information: 0 : operation=queryableattribute.actionexecuting iisexpress.exe information: 0 : message='action returned 'system.collections.generic.list`1[myproj.models.clientdto]'', operation=reflectedhttpactiondescriptor.executeasync iisexpress.exe information: 0 : message='will use same 'jsonmediatypeformatter' formatter', operation=jsonmediatypeformatter.getperrequestformatterinstance iisexpress.exe information: 0 : message='selected formatter='jsonmediatypeformatter', content-type='application/json; charset=utf-8'', operation=defaultcontentnegotiator.negotiate iisexpress.exe information: 0 : operation=apicontrolleractioninvoker.invokeactionasync, status=200 (ok) iisexpress.exe information: 0 : operation=queryableattribute.actionexecuted, status=200 (ok) iisexpress.exe information: 0 : operation=clientscontroller.executeasync, status=200 (ok) iisexpress.exe information: 0 : response, status=200 (ok), method=get, url=http://localhost:51741/api/clients/?$filter=uniquename eq '6269', message='content-type='application/json; charset=utf-8', content-length=unknown' iisexpress.exe information: 0 : operation=jsonmediatypeformatter.writetostreamasync iisexpress.exe information: 0 : operation=clientscontroller.dispose 

how turn off? want see my calls trace.traceinformation, trace.traceerror, trace.tracewarning, etc.

first off all, when use code like

trace.traceinformation("my custom info message."); 

for tracing (not matter place - page, controller or other class separate .dll) , run application under iis express ms vs output window show like

iisexpress.exe information: 0 : custom info message. 

how recognize messages "yours" , "not yours"? maybe should add additional marker each messages? as see output windows still not support message filtering custom tags or text, it's support text search (ctrl+f), so...

i had same issue iis express spamming output windows messages this

'iisexpress.exe' (clr v4.0.30319: /lm/w3svc/2/root-1-130838650006648508): loaded 'c:\windows\microsoft.net\assembly\gac_msil\system.runtime.serialization\v4.0_4.0.0.0__b77a5c561934e089\system.runtime.serialization.dll'. skipped loading symbols. module optimized , debugger option 'just code' enabled. 

i had solved going ms vs (2013) main menu

-> debug -> options & settings... -> debugging -> output window

and turning off unneeded output messages types

general output settings


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -