diff --git a/packages/store-indexer/bin/postgres-frontend.ts b/packages/store-indexer/bin/postgres-frontend.ts index fdfcab402e..ced2dd7d5f 100644 --- a/packages/store-indexer/bin/postgres-frontend.ts +++ b/packages/store-indexer/bin/postgres-frontend.ts @@ -1,7 +1,6 @@ #!/usr/bin/env node import "dotenv/config"; import { z } from "zod"; -import { DefaultLogger } from "drizzle-orm"; import fastify from "fastify"; import { fastifyTRPCPlugin } from "@trpc/server/adapters/fastify"; import { AppRouter, createAppRouter } from "@latticexyz/store-sync/trpc-indexer"; @@ -19,9 +18,7 @@ const env = parseEnv( ) ); -const database = drizzle(postgres(env.DATABASE_URL), { - logger: new DefaultLogger(), -}); +const database = drizzle(postgres(env.DATABASE_URL)); // @see https://fastify.dev/docs/latest/ const server = fastify({ diff --git a/packages/store-indexer/bin/postgres-indexer.ts b/packages/store-indexer/bin/postgres-indexer.ts index f853a9d8ee..025fe818b0 100644 --- a/packages/store-indexer/bin/postgres-indexer.ts +++ b/packages/store-indexer/bin/postgres-indexer.ts @@ -1,7 +1,7 @@ #!/usr/bin/env node import "dotenv/config"; import { z } from "zod"; -import { DefaultLogger, eq } from "drizzle-orm"; +import { eq } from "drizzle-orm"; import { createPublicClient, fallback, webSocket, http, Transport } from "viem"; import { isDefined } from "@latticexyz/common/utils"; import { combineLatest, filter, first } from "rxjs";