Revert "Use JSON-format structured logging in production (#882)"#885
Merged
Conversation
This reverts commit e2a1252.
Test coverage91.72% line coverage reported by SimpleCov. |
Contributor
There was a problem hiding this comment.
Pull request overview
Reverts the previously introduced JSON structured logging setup in production by removing rails_semantic_logger and related configuration, returning the app to default Rails stdout logging behavior.
Changes:
- Removed
rails_semantic_logger(andsemantic_logger) from the bundle. - Deleted application/production configuration that set up JSON logging appenders and application naming.
- Adjusted Flipper initializer to no longer explicitly set
config.flipper.log = false.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Gemfile.lock | Removes rails_semantic_logger and semantic_logger from resolved gems and dependencies. |
| Gemfile | Removes the rails_semantic_logger gem dependency. |
| config/initializers/flipper.rb | Stops explicitly setting Flipper logging off (now only includes a commented example). |
| config/environments/production.rb | Replaces JSON structured logging configuration with a standard stdout Rails logger. |
| config/application.rb | Removes global semantic logger configuration (JSON format + application name). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
abcampo-iry
approved these changes
Jun 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reverts commit e2a1252.