mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-29 20:43:49 -06:00
write all the messages into debug file.
This commit is contained in:
parent
865577742f
commit
db1e0fa397
@ -391,7 +391,7 @@ namespace Opm
|
||||
std::shared_ptr<StreamLog> streamLog = std::make_shared<StreamLog>(std::cout, Log::NoDebugMessageTypes);
|
||||
OpmLog::addBackend( "ECLIPSEPRTLOG" , prtLog );
|
||||
OpmLog::addBackend( "STREAMLOG", streamLog);
|
||||
std::shared_ptr<StreamLog> debugLog = std::make_shared<EclipsePRTLog>(debugFile, Log::MessageType::Debug);
|
||||
std::shared_ptr<StreamLog> debugLog = std::make_shared<EclipsePRTLog>(debugFile, Log::DefaultMessageTypes);
|
||||
OpmLog::addBackend( "DEBUGLOG" , debugLog);
|
||||
prtLog->setMessageFormatter(std::make_shared<SimpleMessageFormatter>(false, false));
|
||||
streamLog->setMessageLimiter(std::make_shared<MessageLimiter>(10));
|
||||
|
Loading…
Reference in New Issue
Block a user