From 6d1c9544264e4252b53149e60c7e571480dc26ed Mon Sep 17 00:00:00 2001 From: Thibault Le Ouay Date: Thu, 23 Oct 2025 14:58:03 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=B5=20typo=20(#1475)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/workflows/src/checker/alerting.ts | 2 +- apps/workflows/src/checker/index.ts | 2 +- apps/workflows/src/cron/checker.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/workflows/src/checker/alerting.ts b/apps/workflows/src/checker/alerting.ts index 8dd42235..a4ea5c17 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 c9299f75..75528fde 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 06d855e5..3636293f 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) -- 2.51.2