We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 642b752 commit 0e2d3e8Copy full SHA for 0e2d3e8
2 files changed
config/application.rb
@@ -75,5 +75,6 @@ class Application < Rails::Application
75
config.x.cloudflare_turnstile.enabled = ENV['CLOUDFLARE_TURNSTILE_SECRET_KEY'].present?
76
77
config.rails_semantic_logger.format = :json
78
+ config.semantic_logger.application = 'editor-api'
79
end
80
config/environments/production.rb
@@ -50,6 +50,7 @@
50
$stdout.sync = true
51
config.rails_semantic_logger.add_file_appender = false
52
config.semantic_logger.add_appender(io: $stdout, formatter: :json)
53
+ config.semantic_logger.application = "editor-api@#{ENV['HEROKU_SLUG_COMMIT'] || 'unknown'}"
54
55
56
# Prepend all log lines with the following tags.
0 commit comments