jamesgeer / conf-twitter-bot

A Twitter Bot to post about academic papers
MIT License
4 stars 0 forks source link

Dedicated logging #34

Closed jamesgeer closed 2 years ago

jamesgeer commented 2 years ago

As the application grows, keeping everything as a "console log" can lead to information being missed, or make it tedious to scroll around to find the error within the terminal or specific output so it could be wise to store logs.

I'm not too familiar with the best logging practices but I came across this library that seems nice: pino do some research/investigation or use a library you think is better, or no library at all if you think the logs should be dumped to a file/database.

Links: https://www.npmjs.com/package/pino https://getpino.io

EdwardChristian commented 2 years ago

Started work on this, will log actions to a separate file