1
0
mirror of https://github.com/comatory/fb2iCal synced 2025-02-26 08:27:40 +01:00

just use daily logs instead of hourly

This commit is contained in:
Ondrej Synacek 2019-11-05 20:05:24 +01:00
parent 563853c5a3
commit 05640e2cd8

View File

@ -58,7 +58,7 @@ const getNormalizedUrl = (URLparameter) => {
const createDailyRotateLogFileTransport = () => {
const transport = new (winston.transports.DailyRotateFile)({
filename: path.join(__dirname, '..', 'logs', 'app-%DATE%.log'),
datePattern: 'YYYY-MM-DD-HH',
datePattern: 'YYYY-MM-DD',
zippedArchive: false,
maxSize: '20m',
maxFiles: '14d',