data ingestion logger reopenFileStreams

This commit is contained in:
Simon Martín 2018-06-18 18:48:38 +02:00
parent 7727a9d506
commit b4724d7408

4
app.js
View File

@ -115,6 +115,10 @@ process.on('SIGHUP', function() {
if (server.batch && server.batch.logger) { if (server.batch && server.batch.logger) {
server.batch.logger.reopenFileStreams(); server.batch.logger.reopenFileStreams();
} }
if (server.dataIngestionLogger) {
server.dataIngestionLogger.reopenFileStreams();
}
}); });
process.on('SIGTERM', function () { process.on('SIGTERM', function () {