From 1bb96ffed2bf0aab3bb51df216b30983d0595107 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Sat, 5 Sep 2020 11:09:29 +0200 Subject: [PATCH] Set up default stdout logging for msim simulator --- examples/msim.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/msim.cpp b/examples/msim.cpp index 3feff966b..846d3e5de 100644 --- a/examples/msim.cpp +++ b/examples/msim.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include @@ -38,6 +39,7 @@ int main(int /* argc */, char** argv) { Opm::ErrorGuard error_guard; auto python = std::make_shared(); + Opm::OpmLog::setupSimpleDefaultLogging(); Opm::Deck deck = parser.parseFile(deck_file, parse_context, error_guard); Opm::EclipseState state(deck); Opm::Schedule schedule(deck, state, parse_context, error_guard, python);