Awesome q2a theme

In node.js (express framework) how to disable the output HTTP response of the server in the console?

0 like 0 dislike
90 views
Made client-server longpolling method. As a result, in the console constantly get / 200 OK. The colon long stretches and stretches ) Among it has important messages to my code. Somewhere somehow because it can be nice to disable, not getting hands in the modules node and espress. Google did not help) Dear experts, need help! Thank you in advance
by | 90 views

2 Answers

0 like 0 dislike
Yes, just erase the logger morgan from the main file.
by
0 like 0 dislike
Brilliant! Thanks, friend, now everything is so simple in the console )))
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Apr 27, 2019 by xymox72
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
110,608 questions
257,187 answers
0 comments
40,796 users