Skip to content

Open-source status page, incident response and uptime monitoring

πŸͺ΅ typo (#1475)

Thibault Le Ouay6d1c9544264e
diff --git a/apps/workflows/src/checker/alerting.ts b/apps/workflows/src/checker/alerting.ts
index 8dd422356..a4ea5c17f 100644
--- a/apps/workflows/src/checker/alerting.ts
+++ b/apps/workflows/src/checker/alerting.ts
@@ -11,7 +11,7 @@ import type { Region } from "@openstatus/db/src/schema/constants";
import { checkerAudit } from "../utils/audit-log";
import { providerToFunction } from "./utils";
-const logger = getLogger("api-server");
+const logger = getLogger("workflow");
export const triggerNotifications = async ({
monitorId,
diff --git a/apps/workflows/src/checker/index.ts b/apps/workflows/src/checker/index.ts
index c9299f751..75528fde7 100644
--- a/apps/workflows/src/checker/index.ts
+++ b/apps/workflows/src/checker/index.ts
@@ -60,7 +60,7 @@ checkerRoute.post("/updateStatus", async (c) => {
latency,
} = result.data;
- logger.info(`πŸ“ update monitor status ${JSON.stringify(result.data)}`);
+ logger.info("πŸ“ update monitor status {*}", { ...result.data });
// First we upsert the monitor status
await upsertMonitorStatus({
diff --git a/apps/workflows/src/cron/checker.ts b/apps/workflows/src/cron/checker.ts
index 06d855e53..3636293f6 100644
--- a/apps/workflows/src/cron/checker.ts
+++ b/apps/workflows/src/cron/checker.ts
@@ -31,7 +31,7 @@ export const isAuthorizedDomain = (url: string) => {
return url.includes(env().SITE_URL);
};
-const logger = getLogger("api-server");
+const logger = getLogger("workflow");
const channelOptions = {
// Conservative 5-minute keepalive (gRPC best practice)