Skip to content

Commit 6bd16e0

Browse files
committed
Add observability logs to worker
1 parent 6fa1193 commit 6bd16e0

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

patches/config.patch

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ index 130f875..28dc76d 100644
2525
EXCLUDED_STATUSES: ['maintenance'],
2626
});
2727
diff --git a/wrangler.toml b/wrangler.toml
28-
index efcbbd5..f44be1f 100644
28+
index efcbbd5..c479286 100644
2929
--- a/wrangler.toml
3030
+++ b/wrangler.toml
31-
@@ -1,11 +1,11 @@
31+
@@ -1,12 +1,15 @@
3232
-name = "status-worker"
3333
+name = "discord-status-worker"
3434
workers_dev = false
@@ -43,3 +43,7 @@ index efcbbd5..f44be1f 100644
4343
]
4444

4545
[triggers]
46+
crons = ["* * * * *"]
47+
+
48+
+[observability.logs]
49+
+enabled = true

worker/wrangler.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ kv_namespaces = [
1010

1111
[triggers]
1212
crons = ["* * * * *"]
13+
14+
[observability.logs]
15+
enabled = true

0 commit comments

Comments
 (0)