api.id
will now be appended to log files via default. In older projects, you can update this behavior by changing the format of the timestamp
option in your logger, I.E.:// in config.js return new (winston.transports.File)({ filename: api.config.general.paths.log[0] + '/' + api.pids.title + '.log', level: 'info', timestamp: function(){ return api.id + ' @ ' + new Date().toISOString(); }, });
async
updated to version 2.0