1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00

Add signal-handling to allow proper log-rotation.

This commit is contained in:
Mikhail T 2017-12-05 11:42:14 -05:00
parent 6088e96a8c
commit e0fb5d927f

@ -93,6 +93,10 @@ function setup(logs) {
},
});
process.on('SIGUSR2', function () {
log.reopenFileStreams();
});
module.exports.logger = logger;
}