Skip to content

Commit 0a38470

Browse files
committed
added test env explanation
1 parent afdd847 commit 0a38470

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

site/app/docs/configuration/page.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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>

site/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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">

0 commit comments

Comments
 (0)