rename logbase to _logbase

This commit is contained in:
陆柯 2022-01-13 16:07:16 +08:00
parent d1942ff73b
commit 43942336fc

View File

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