File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,15 @@ export default function ConfigurationPage() {
8282
8383 < RubyCodeExample name = "environment_configuration" />
8484
85+ < Callout type = "info" >
86+ We enable LogStruct in < code > test</ code > as well as production by
87+ default. Keeping test and production behavior as close as possible helps
88+ catch logging issues early (for example, unexpected serialization
89+ errors, missing fields, or broken integrations) before they reach prod.
90+ If you prefer to disable it in test, remove < code > :test</ code > from{ ' ' }
91+ < code > config.enabled_environments</ code > .
92+ </ Callout >
93+
8594 < HeadingWithAnchor id = "integration-configuration" >
8695 Integration Configuration
8796 </ HeadingWithAnchor >
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ export default function Home() {
110110 < h2 className = "mb-8 text-3xl font-bold" > Installation</ h2 >
111111
112112 < p className = "my-6 text-lg text-neutral-600 dark:text-neutral-400" >
113- Enable JSON structured logging for test and production environments :
113+ Enable JSON structured logging for your application :
114114 </ p >
115115 < div className = "grid gap-8 md:grid-cols-2" >
116116 < div className = "rounded-lg border border-neutral-200 p-6 dark:border-neutral-800" >
You can’t perform that action at this time.
0 commit comments