rename data.log to logbase
This commit is contained in:
parent
6cc328b2e6
commit
fc4a4418b4
2
index.js
2
index.js
@ -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
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user