How to disable HTTP request logs in Node/Express.js

后端 未结 3 1226
被撕碎了的回忆
被撕碎了的回忆 2021-02-01 15:55

I\'m currently working on an application based on Node/Express.js.

I have a lot of different resources files (images, css, js...) that I don\'t want to be logged when ex

3条回答
  •  甜味超标
    2021-02-01 16:58

    Move the logging pluggin below the resource pluggin in the app initialization. Done.

    Woohoo for Connect!

提交回复
热议问题