mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use log/journal instead of std::cerr (RIPD-1377):
Change some uses of std::cerr to log or cout.
This commit is contained in:
committed by
Edward Hennis
parent
b3eada1dc2
commit
e01f6e7455
@@ -459,7 +459,7 @@ SHAMapStoreImp::dbPaths()
|
||||
{
|
||||
if (! boost::filesystem::is_directory (dbPath))
|
||||
{
|
||||
std::cerr << "node db path must be a directory. "
|
||||
journal_.error() << "node db path must be a directory. "
|
||||
<< dbPath.string();
|
||||
Throw<std::runtime_error> (
|
||||
"node db path must be a directory.");
|
||||
@@ -494,7 +494,7 @@ SHAMapStoreImp::dbPaths()
|
||||
stateDbPathName /= dbName_;
|
||||
stateDbPathName += "*";
|
||||
|
||||
std::cerr << "state db error: " << std::endl
|
||||
journal_.error() << "state db error: " << std::endl
|
||||
<< " writableDbExists " << writableDbExists
|
||||
<< " archiveDbExists " << archiveDbExists << std::endl
|
||||
<< " writableDb '" << state.writableDb
|
||||
|
||||
Reference in New Issue
Block a user