Skip to content

Commit 08d3261

Browse files
committed
WO-250 add invocation logs docs
1 parent 6ab44d4 commit 08d3261

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/content/docs/workers/observability/logs/workers-logs.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ Each Workers invocation returns a single invocation log that contains details su
8282

8383
In the Workers Logs UI, logs are presented with a localized timestamp and a message. The message is dependent on the invocation handler. For example, Fetch requests will have a message describing the request method and the request URL, while cron events will be listed as cron. Below is a list of invocation handlers along with their invocation message.
8484

85+
Invocation logs can be disabled in wrangler by setting the `invocation_logs = false` configuration.
86+
87+
```toml
88+
[observability.logs]
89+
invocation_logs = false
90+
```
91+
8592
| Invocation Handler | Invocation Message |
8693
| --------------------------------------------------------------- | -------------------------- |
8794
| [Alarm](/durable-objects/api/alarms/) | \<Scheduled Time\> |

0 commit comments

Comments
 (0)