Skip to content

Commit 279ded8

Browse files
Roland Lichtersjenkins
authored andcommitted
QPR-12433 ensure same logging on re-run
1 parent 1db1426 commit 279ded8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

OREAnalytics/orea/app/oreapp.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ void OREApp::initFromParams() {
352352
inputs_->loadParameters();
353353
outputs_ = QuantLib::ext::make_shared<OutputParameters>(params_);
354354
CONSOLE("OK");
355-
355+
356356
Settings::instance().evaluationDate() = inputs_->asof();
357357
LOG("initFromParameters done, requested analytics:" << to_string(inputs_->analytics()));
358358
}
@@ -366,7 +366,8 @@ void OREApp::initFromInputs() {
366366
}
367367

368368
outputPath_ = inputs_->resultsPath().string();
369-
setupLog(outputPath_, logFile_, logMask_, logRootPath_);
369+
setupLog(outputPath_, logFile_, logMask_, logRootPath_, progressLogFile_, progressLogRotationSize_, progressLogToConsole_,
370+
structuredLogFile_, structuredLogRotationSize_));
370371
LOG("initFromInputs done, requested analytics:" << to_string(inputs_->analytics()));
371372
}
372373

0 commit comments

Comments
 (0)