tjanczuk / iisnode

Hosting node.js applications in IIS on Windows
Other
1.85k stars 587 forks source link

IISNode keeps logging files all the time #577

Open alvarotrigo opened 7 years ago

alvarotrigo commented 7 years ago

I noticed files are constantly being created and deleted in this folder: myapp\bin\iisnode Files with one or two lines such as:

GET /events/getEvents/20742253?_=1497541531602 200 56.048 ms - 28
GET /comments/getComments/20742253?_=1497541531603 200 33.405 ms - 670

It seems it is logging every single access to the site in a separate file. Is this how it is suppose to work?

Does this mean that if I have hundreds or thousands of users performing ajax calls IISNode will be creating and removing thousands of files per minute?

I also saw many of this request were done by some SPAMMER trying to find vulnerabilities in the URLs by using different parameters and values. They were requesting the site hundreds of times per minute resulting in the iisnode folder being super active all the time adding and removing files.

dupuis2387 commented 7 years ago

i think you want, in your web.config file:

<iisnode loggingEnabled="false" />