Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codebase Should support usage of a daily rotating file logging system #638

Closed
Adekoreday opened this issue Apr 27, 2020 · 9 comments
Closed

Comments

@Adekoreday
Copy link
Member

Description

Why

Logging of details and error on the console makes it difficult to have a detailed history of errors and user interactions with the application on production over a long period of time.

Level

Beginner

Current behavior

On start of the application details of interactions are logged via the console, this makes it difficult to know the following

  • level of importance of some logs such as information, error, warning
  • keeping records of transaction history with the application.

Expected behavior

  • A daily rotating file logging system should log information on files, console, and optionally a configuration to enable logging on file or console or both depending on the environment.

  • After 24hours each log file should be zipped to keep our application size in check.

Screenshot attached

Screen Shot 2020-04-27 at 9 52 57 PM

How to reproduce the user scenario

  • start the application and interact with it.

Tips

leverage of node.js logging libraries

@navneet79
Copy link

Hi , Can I work on this issue?

@Adekoreday
Copy link
Member Author

if @alexanmtz approves.

wrote some stuff on it lately
you can start from this blog post
https://korey.ml/configuring-daily-rotating-file-logging-system-in-nodejs/

@alexanmtz
Copy link
Member

that's great @Adekoreday, very good article. So you're interested to work on this? Or you want to share your reference so other contributors can learn from your article?

@Adekoreday
Copy link
Member Author

Sharing my reference to make the task easier for @navneet79

@Adekoreday
Copy link
Member Author

@navneet79 are you still interested or should I take up the task?

@Adekoreday
Copy link
Member Author

@alexanmtz will like to go ahead and implement this

@alexanmtz
Copy link
Member

hey @Adekoreday you want to continue to work on this? Do you want to be assigned?

@Adekoreday
Copy link
Member Author

i'll continue work on this was waiting on your approval

@alexanmtz
Copy link
Member

Great @Adekoreday , you're now assigned 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants