mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-22 20:15:51 +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
@@ -263,6 +263,9 @@ void Config::setup (std::string const& strConf, bool bQuiet,
|
||||
|
||||
void Config::load ()
|
||||
{
|
||||
// NOTE: this writes to cerr because we want cout to be reserved
|
||||
// for the writing of the json response (so that stdout can be part of a
|
||||
// pipeline, for instance)
|
||||
if (!QUIET)
|
||||
std::cerr << "Loading: " << CONFIG_FILE << "\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user