Skip to content

Switch from lograge to rails-semantic-logger - #1542

Merged
jazairi merged 3 commits into
mainfrom
etd-708
Oct 2, 2026
Merged

jazairi merged 3 commits into
mainfrom
etd-708

Conversation

@jazairi

@jazairi jazairi commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Why these changes are being introduced:

This is part of a broader attempt to improve
logging.

Relevant ticket(s):

How this addresses that need:

This configures rails-semantic-logger to log
to STDOUT in JSON, using color highlights in
development.

Side effects of this change:

None.

Developer

Accessibility
  • ANDI or WAVE has been run in accordance to our guide.
  • This PR contains no changes to the view layer.
  • New issues flagged by ANDI or WAVE have been resolved.
  • New issues flagged by ANDI or WAVE have been ticketed (link in the Pull Request details above).
  • No new accessibility issues have been flagged.
New ENV
  • All new ENV is documented in README.
  • All new ENV has been added to Heroku Pipeline, Staging and Prod.
  • ENV has not changed.
Approval beyond code review
  • UXWS/stakeholder approval has been confirmed.
  • UXWS/stakeholder review will be completed retroactively.
  • UXWS/stakeholder review is not needed.
Additional context needed to review

E.g., if the PR includes updated dependencies and/or data
migration, or how to confirm the feature is working.

Code Reviewer

Code
  • I have confirmed that the code works as intended.
  • Any CodeClimate issues have been fixed or confirmed as
    added technical debt.
Documentation
  • The commit message is clear and follows our guidelines
    (not just this pull request message).
  • The documentation has been updated or is unnecessary.
  • New dependencies are appropriate or there were no changes.
Testing
  • There are appropriate tests covering any new functionality.
  • No additional test coverage is required.

Why these changes are being introduced:

This is part of a broader attempt to improve
logging.

Relevant ticket(s):

- [ETD-708](https://mitlibraries.atlassian.net/browse/ETD-708)

How this addresses that need:

This configures `rails-semantic-logger` to log
to STDOUT in JSON, using color highlights in
development.

Side effects of this change:

None.
@mitlib
mitlib temporarily deployed to thesis-submit-pr-1542 October 1, 2026 21:33 Inactive
@coveralls

coveralls commented Oct 1, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 98.3%. remained the same — etd-708 into main

@jazairi
jazairi temporarily deployed to thesis-submit-pr-1542 October 1, 2026 22:04 Inactive
Comment thread config/environments/development.rb
Comment thread Gemfile Outdated
gem 'paper_trail'
gem 'puma'
gem 'rails', '~> 8.1.0'
gem 'rails_cloudflare_turnstile'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was adding turnstile here intentional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha! Nope. Removing.

@JPrevost JPrevost self-assigned this Oct 2, 2026
@jazairi
jazairi had a problem deploying to thesis-submit-pr-1542 October 2, 2026 16:21 Failure
@jazairi
jazairi had a problem deploying to thesis-submit-pr-1542 October 2, 2026 16:23 Failure
@jazairi
jazairi temporarily deployed to thesis-submit-pr-1542 October 2, 2026 16:32 Inactive
@jazairi
jazairi requested a review from JPrevost October 2, 2026 16:47
@jazairi
jazairi merged commit bfe6675 into main Oct 2, 2026
2 checks passed
@jazairi
jazairi deleted the etd-708 branch October 2, 2026 17:40

This branch was previously deployed

1 inactive deployment
thesis-submit-pr-1542 — 85f6f29e Deployed Oct 2, 2026 by jazairi
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.

4 participants