diff --git a/src/lib/logger.js b/src/lib/logger.js index dd8bac2ee..3d777bf40 100644 --- a/src/lib/logger.js +++ b/src/lib/logger.js @@ -93,6 +93,10 @@ function setup(logs) { }, }); + process.on('SIGUSR2', function () { + log.reopenFileStreams(); + }); + module.exports.logger = logger; }