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

Commit

Permalink
KEP-1077 Flush stdout logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ebruck committed Feb 4, 2019
1 parent 268f618 commit 11d4337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swarm/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ init_logging(const bzn::options& options)

if (options.get_log_to_stdout())
{
boost::log::add_console_log(std::cout, boost::log::keywords::format = format);
boost::log::add_console_log(std::cout, keywords::format = format, keywords::auto_flush = true);
}

boost::log::add_common_attributes();
Expand Down

0 comments on commit 11d4337

Please sign in to comment.