chore: disable debug log of fastify

This commit is contained in:
syuilo 2023-10-19 11:18:17 +09:00
parent f9549e1f1b
commit 428d39a460
1 changed files with 1 additions and 1 deletions

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;