NASA-AMMOS / NASA-AMMOS/MMGIS

ENV to Change Logging Output

Open
#136 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
232
Forks
77
Avg merge
3d 6h
Merged PRs (30d)
17

Description

Some users would like error logs printed to stderr with appropriate log levels. We do still want to keep our current logging of printing all json strings to stdout. Maybe support printing logs to files again too.

See API/logger.js

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.

Research direction

Start by reading API/logger.js and trace how the current JSON strings are written to stdout. Define the environment-controlled behavior for stderr log levels and any file output while preserving stdout JSON logging; done means the requested output modes work without changing the existing stdout behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.