diff --git a/opm/autodiff/FlowMain.hpp b/opm/autodiff/FlowMain.hpp index a8845ea4e..e149bef10 100644 --- a/opm/autodiff/FlowMain.hpp +++ b/opm/autodiff/FlowMain.hpp @@ -396,7 +396,10 @@ namespace Opm streamLog->setMessageLimiter(std::make_shared(10)); streamLog->setMessageFormatter(std::make_shared(true)); // Read parameters. - OpmLog::debug("\n--------------- Reading parameters ---------------\n"); + if ( output_cout_ ) + { + OpmLog::debug("\n--------------- Reading parameters ---------------\n"); + } }