Skip to content

Commit

Permalink
非推奨になっていたため
Browse files Browse the repository at this point in the history
log4js-node/log4js-node#1080
```
(node:38719) [streamroller-DEP0001] DeprecationWarning: options.daysToKeep is deprecated due to the confusion it causes when used together with file size rolling. Please use options.numBackups instead.
```
  • Loading branch information
aocm committed Apr 15, 2022
1 parent 9bab700 commit 8c4b98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssr-server/src/log/config.js
Expand Up @@ -38,7 +38,7 @@ export const log4jsConfig = {
layout: logLayout,
filename: path.join(logDirectory, "app.log"),
pattern: "-yyyy-MM-dd",
daysToKeep: 7,
numBackups: 7,
compress: true,
},
},
Expand Down

0 comments on commit 8c4b98a

Please sign in to comment.