Oh my days, how did I miss this comment.
This might not be of use but for someone else.
So depending on the size of the application, you can have a different database where you can log your errors and also you can try some premium sources like BugSnag and the likes.
I'm currently writing an article on how to use BugSnag to report your errors and how to get them resolved.
Deepak Rawat
figuring things out
i have this question, please forgive if it's something silly, i tried winston, and it logs data to an error.log file when i try to run it on localhost.
I don't know how to implement the same when the application is in production, where can i find that error.log file. is it necessary to write the log file data into the database, what if i just want to download the file and read the logs. is that possible? I know a few complex workaround, but can i get the localhost experience on the production level