Skip to content

Commit

Permalink
Fix some nits in the worker logging docs (#15948)
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-phinizy authored Nov 7, 2024
1 parent 31568a6 commit 11ce49a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/3.0/deploy/infrastructure-concepts/workers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,13 @@ after it stopped sending heartbeats, but you can configure the threshold with th
### Worker logs
<Warning>This feature is experimental as of Prefect version 3.1.1</Warning>

<span class="badge cloud"></span>Workers can now send logs directly to Prefect Cloud.
<span class="badge cloud"></span> Workers can now send logs directly to Prefect Cloud.

To enable this feature, run the command `prefect config set PREFECT_EXPERIMENTS_WORKER_LOGGING_TO_API_ENABLED=true` or set an environment variable with the same name and value. See our [profile settings](/3.0/manage/settings-and-profiles/) documentation for more information about changing settings.
To enable this feature, run the command:
```bash
prefect config set PREFECT_EXPERIMENTS_WORKER_LOGGING_TO_API_ENABLED=true
```
See our [profile settings](/3.0/manage/settings-and-profiles/) documentation for more information about changing settings.

Once enabled:
- All worker logs are automatically sent to the Prefect Cloud API
Expand Down

0 comments on commit 11ce49a

Please sign in to comment.