diff --git a/config/logger.ts b/config/logger.ts index 8d41ef4..4034833 100644 --- a/config/logger.ts +++ b/config/logger.ts @@ -1,13 +1,5 @@ import pino from 'pino'; import pretty from 'pino-pretty'; -import path from 'path'; - -const fileLogger = pino({ - transport: { - target: 'pino/file', - options: { destination: path.join(process.cwd(), 'config', 'app.log') }, - }, -}); const consoleLogger = pino( pretty({ @@ -18,15 +10,12 @@ const consoleLogger = pino( const logger = { info: (msg: string, ...args: any[]) => { - fileLogger.info(msg, ...args); consoleLogger.info(msg, ...args); }, error: (msg: string, ...args: any[]) => { - fileLogger.error(msg, ...args); consoleLogger.error(msg, ...args); }, warn: (msg: string, ...args: any[]) => { - fileLogger.warn(msg, ...args); consoleLogger.warn(msg, ...args); }, }; diff --git a/index.exe b/index.exe index 349c327..53e22d2 100644 Binary files a/index.exe and b/index.exe differ