I'm developing a server under Node.js using Express and I use winston to log.
Is it a good practice to log every call to the API and every response to the call on the terminal ? Is it a good practice to log that in a log file too ? There could be up to 100 calls per second.
I'm talking here about info log, not error log.
It might be a good practice for debugging when it comes under development phase. When it moved to the production you need to comment it out. If it logs for each and every request then it may affect the performance of the application. So you may use the logs for the critical pieces alone.