github-community-projects / github-community-projects/private-mirrors

Revamp logging to be more useful and easily filterable

Open
#450 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
196
Forks
41
Avg merge
1d 9h
Merged PRs (30d)
4

Description

### Is your feature request related to a problem?

The current logging in private-mirrors is inconsistently implemented and hard to filter to useful traffic for monitoring a production deployment.

### Describe the solution you'd like

The logging should be updated to ensure that appropriate log levels are used for all scenarios, console.log is never used, and all potentially sensitive information is masked.

### Describe alternatives you've considered

It may be worth switching to a different logging library like Pino which is one of the fastest and most popular logging libraries for Node development.

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.