RealDevSquad / RealDevSquad/website-backend

Formatting and streaming logs

Open
#231 1 comment 0 reactions 1 assignee View on GitHub

@correaswebert is already working on this.

Since Mar 12, 2021.

enhancement feature task
Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

Our current logger does not format strings. For example, a newline is rendered as the escaped string \n instead of rendering it on the console.
It makes debugging difficult, as sometimes the solution is hidden in the logs.

Also, we could stream our error and critical-level logs to a separate log file to keep track of important issues.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.