问题
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