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:
parent
563853c5a3
commit
05640e2cd8
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user