chore: disable debug log of fastify

This commit is contained in:
syuilo 2023-10-19 11:18:17 +09:00
parent f9549e1f1b
commit 428d39a460

View file

@ -73,7 +73,7 @@ export class ServerService implements OnApplicationShutdown {
public async launch(): Promise<void> {
const fastify = Fastify({
trustProxy: true,
logger: !['production', 'test'].includes(process.env.NODE_ENV ?? ''),
logger: false,
});
this.#fastify = fastify;