From 4ebacf675357e8f4f8317dc0b0f94df25e581e6c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 20 Oct 2024 19:23:01 +0200 Subject: [PATCH] Fix logger name --- src/database/kv.ts | 2 +- src/database/postgres.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/database/kv.ts b/src/database/kv.ts index 72a3b7e..97d6aff 100644 --- a/src/database/kv.ts +++ b/src/database/kv.ts @@ -3,7 +3,7 @@ import { getLogger } from "@logtape/logtape" import Postgres from "@@npm/postgres" -const l = getLogger(["dotino-veloce", "fedify", "kv"]) +const l = getLogger(["dotino-veloce", "database", "kv"]) export function createPostgresKvStore(postgres: Postgres.Sql): PostgresKvStore { diff --git a/src/database/postgres.ts b/src/database/postgres.ts index 477d110..9380ad9 100644 --- a/src/database/postgres.ts +++ b/src/database/postgres.ts @@ -2,7 +2,7 @@ import Postgres from "@@npm/postgres" import { getLogger } from "@logtape/logtape" -const l = getLogger(["dotino-veloce", "fedify", "postgres"]) +const l = getLogger(["dotino-veloce", "database", "postgres"]) export function createPostgres(connString: string): Postgres.Sql {