rename data.log to logbase

This commit is contained in:
Luk Lu
2021-09-08 20:31:03 +08:00
parent 6cc328b2e6
commit fc4a4418b4

View File

@@ -31,7 +31,7 @@ var logger = function (option) {
{ {
level: 'info', level: 'info',
type: 'rotating-file', type: 'rotating-file',
path: path.join(option.root || 'data.log/', '/', option.file || 'info.log'), path: path.join(option.root || 'logbase/', '/', option.file || 'info.log'),
period: '1d', // daily rotation period: '1d', // daily rotation
count: 30, // keep 30 days count: 30, // keep 30 days
}, },