diff --git a/examples/diagnose_relperm.cpp b/examples/diagnose_relperm.cpp index 6de6a948..b0c26eda 100644 --- a/examples/diagnose_relperm.cpp +++ b/examples/diagnose_relperm.cpp @@ -92,6 +92,9 @@ try std::string logFile = baseName + ".SATFUNCLOG"; std::shared_ptr prtLog = std::make_shared(logFile, Log::DefaultMessageTypes); OpmLog::addBackend( "ECLIPSEPRTLOG" , prtLog ); + std::shared_ptr streamLog = std::make_shared(std::cout, Log::DefaultMessageTypes); + OpmLog::addBackend( "STREAMLOG" , streamLog ); + streamLog->setMessageLimiter(std::make_shared(10)); Opm::time::StopWatch timer; timer.start(); RelpermDiagnostics diagnostic;