rename data.log to logbase

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

View File

@ -31,7 +31,7 @@ var logger = function (option) {
{
level: 'info',
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
count: 30, // keep 30 days
},