Need
Replace console.log messages to a logging system, to keep all logging history and make it visible only for admins or keep it on a file on the server.
solutions
- https://github.com/jonnyreeves/js-logger#log-handler-functions -> and add authentication to the route :)
- Or this one https://github.com/pimterry/loglevel -> you can save the output to a file