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

[DEV] Configure logger #32

Open
harvestcore opened this issue Apr 13, 2022 · 2 comments
Open

[DEV] Configure logger #32

harvestcore opened this issue Apr 13, 2022 · 2 comments
Assignees
Labels
task Main task

Comments

@harvestcore
Copy link
Owner

Summary: Configure the logger in the backend and worker projects.

The logger to use is Serilog. See https://serilog.net/.

Functional notes:

  • The logger must output its information to the desired formats and outputs.

Technical notes:

  • The logger must be configured to output data to:
    • Console
    • MongoDB
    • Plain text file.
  • Keep in mind the documentation.

Dependencies:

Subtasks:

  • None for now.

Acceptance criteria:

  • Tests are added if possible.
  • The technical notes are met.
@harvestcore harvestcore added the task Main task label Apr 13, 2022
@harvestcore harvestcore added this to the 01 - Data store milestone Apr 13, 2022
@harvestcore harvestcore self-assigned this Apr 13, 2022
@harvestcore harvestcore moved this to Todo in Matroos Apr 13, 2022
@JJ
Copy link

JJ commented Apr 20, 2022

Several issues here

  1. An issue enunciates a problem, does not propose a solution. Choosing a log tool over another should be part of a decision process that examines the state of the art against project requirements.
  2. There can be no issues without user stories. This issue does not refer to any user story.

Additionally, it's extremely important that you develop the project in different stages, introducing logging (or, for that matter, any other feature) only when the MVP requires you to do so. It's extremely early to do this kind of thing.

@harvestcore harvestcore moved this from Todo to Backlog in Matroos May 8, 2022
@JJ
Copy link

JJ commented May 8, 2022

Please don't state decisions in the issues, like selecting one log over others. This has to be the response to pre-established criteria, which is what you have to lay out in the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Main task
Projects
Status: Backlog
Development

No branches or pull requests

2 participants