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

Make log output on sandboxes human readable #3125

Open
2 tasks
zandercymatics opened this issue Nov 25, 2024 · 0 comments · May be fixed by #3298
Open
2 tasks

Make log output on sandboxes human readable #3125

zandercymatics opened this issue Nov 25, 2024 · 0 comments · May be fixed by #3298
Assignees
Labels
dev issue is for the dev team refactor

Comments

@zandercymatics
Copy link
Contributor

zandercymatics commented Nov 25, 2024

Issue description

Ticket #2705 introduced a change that made made our logs more easily digestible by kibana (json format). However, it was meant to just log in a json format on "Error" but is currently logging for all log lines. The json format is harder for human eyes to digest, especially when running scripts or other commands, and while helpful to keep tracebacks (errors) together, it gets less helpful for things that are warning, info and debug. Ideally, we should display logs as we do on localhost.

Acceptance criteria

  • Logs match the format present on localhost for DEBUG, INFO, and WARNING
  • Log level ERROR is still in JSON format

Additional context

Note: logging for localhost should not be modified as part of this ticket.
unit testing isn't required for this one. Just manually test locally and on sandbox. For the PR review, it would be very nice to add some temporary logger lines set to error to an easy to get to page (like the home page), as well as some lines that are at the warning level. It would speed up the review. Just if you do this, be sure to delete those logs prior to merging.

Links to other issues

@zandercymatics zandercymatics added dev issue is for the dev team refactor refinement labels Nov 25, 2024
@abroddrick abroddrick moved this from 👶 New to 🍦 Backlog in .gov Product Board Nov 25, 2024
@abroddrick abroddrick moved this from 🍦 Backlog to 🎯 Ready in .gov Product Board Nov 25, 2024
@PaulKuykendall PaulKuykendall moved this from 🎯 Ready to 🔖 Planned in .gov Product Board Dec 18, 2024
@Matt-Spence Matt-Spence moved this from 🔖 Planned to 🏗 In progress in .gov Product Board Dec 18, 2024
@Matt-Spence Matt-Spence self-assigned this Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev issue is for the dev team refactor
Projects
Status: 🏗 In progress
Development

Successfully merging a pull request may close this issue.

3 participants