Disable IIS logging on individual MVC controller

↘锁芯ラ 提交于 2019-12-11 10:46:23

问题


I have a few particular actions in a controller and I do not want IIS (6) to log the requests, but only on that particular controller. I want it to log as normally for the rest of my site. Is this even possible?


回答1:


You will need to write a custom logging module for this. By default it's all or nothing.



来源:https://stackoverflow.com/questions/4752513/disable-iis-logging-on-individual-mvc-controller

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!