Use log/journal instead of std::cerr (RIPD-1377):

Change some uses of std::cerr to log or cout.
This commit is contained in:
Mike Ellery
2017-01-06 13:08:08 -08:00
committed by Edward Hennis
parent b3eada1dc2
commit e01f6e7455
10 changed files with 101 additions and 23 deletions

View File

@@ -1104,7 +1104,9 @@ bool ApplicationImp::setup()
m_overlay->setupValidatorKeyManifests (*config_, getWalletDB ());
{
auto setup = setup_ServerHandler(*config_, std::cerr);
auto setup = setup_ServerHandler(
*config_,
beast::logstream { m_journal.error() });
setup.makeContexts();
serverHandler_->setup (setup, m_journal);
}