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

Enable JSON log formatting #3512

Merged
merged 2 commits into from
Nov 13, 2023
Merged

Enable JSON log formatting #3512

merged 2 commits into from
Nov 13, 2023

Conversation

aerosol
Copy link
Member

@aerosol aerosol commented Nov 13, 2023

if LOG_FORMAT=json is set, the app will start logging JSON-formatted messages. By the way, the Repo :loggers configration was removed since it's been already deprecated by Ecto v3 (https://hexdocs.pm/ecto/changelog.html#deprecations-4).

Changes

Please describe the changes made in the pull request here.

Below you'll find a checklist. For each item on the list, check one option and delete the other.

Tests

  • Automated tests have been added
  • This PR does not require tests

Changelog

  • Entry has been added to changelog
  • This PR does not make a user-facing change

Documentation

  • Docs have been updated
  • This change does not need a documentation update

Dark mode

  • The UI has been tested both in dark and light mode
  • This PR does not change the UI

if `LOG_FORMAT=json` is set, the app will start logging
JSON-formatted messages. By the way, the Repo :loggers configration
was removed since it's been already deprecated by Ecto v3
(https://hexdocs.pm/ecto/changelog.html#deprecations-4).
@aerosol aerosol requested a review from a team November 13, 2023 09:16
@aerosol aerosol merged commit 671904a into master Nov 13, 2023
4 checks passed
@aerosol aerosol deleted the json-logger branch November 13, 2023 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants