diff --git a/.helm/values.yaml b/.helm/values.yaml index 5a83809..da8f2e2 100644 --- a/.helm/values.yaml +++ b/.helm/values.yaml @@ -17,7 +17,7 @@ app: persistence: accessMode: ReadWriteOnce enabled: true - size: 50Mi + size: 10Mi storageClass: storage imagePullSecrets: [] diff --git a/src/logging.ts b/src/logging.ts index 03c00cd..bffb531 100644 --- a/src/logging.ts +++ b/src/logging.ts @@ -3,14 +3,14 @@ require('winston-daily-rotate-file'); let errorTransport = new (winston.transports.DailyRotateFile)({ level: 'error', - filename: 'error-%DATE%.log', + filename: 'log/error-%DATE%.log', datePattern: 'YYYY-MM-DD', zippedArchive: true, maxFiles: '7d' }); let combinedTransport = new (winston.transports.DailyRotateFile)({ - filename: 'combined-%DATE%.log', + filename: 'log/combined-%DATE%.log', datePattern: 'YYYY-MM-DD', zippedArchive: true, maxFiles: '7d'