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


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
63 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 | 63 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 28, 2019 by xymox72
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
110,608 questions
257,186 answers
0 comments
35,390 users