diff --git a/src/logger.js b/src/logger.js index a02b819..ed4e1d1 100644 --- a/src/logger.js +++ b/src/logger.js @@ -18,6 +18,7 @@ function loggerInit(directory, quiet = false, logLevel = 'info') { target: 'pino-pretty', options: { destination: logFileDestination, + mkdir: true, colorize: false, translateTime: 'yyyy-mm-dd HH:MM:ss', ignore: 'pid,hostname'