Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
KEP-1044 Startup banner not logged in log file
Browse files Browse the repository at this point in the history
  • Loading branch information
ebruck committed Feb 20, 2019
1 parent 84bad35 commit 88b43c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swarm/main.cpp
Expand Up @@ -176,11 +176,11 @@ print_banner(const bzn::options& options, double eth_balance)
<< " Used Storage: " << get_state_dir_size(options) << " Bytes" << "\n"
<< '\n';

std::cout << ss.str();
LOG(info) << ss.str();

if (!options.get_log_to_stdout())
{
LOG(info) << ss.str();
std::cout << ss.str();
}
}

Expand Down

0 comments on commit 88b43c6

Please sign in to comment.