diff options
Diffstat (limited to 'src/other_tools/just_mr/launch.cpp')
-rw-r--r-- | src/other_tools/just_mr/launch.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/launch.cpp b/src/other_tools/just_mr/launch.cpp index 12c9155c..1236d9f4 100644 --- a/src/other_tools/just_mr/launch.cpp +++ b/src/other_tools/just_mr/launch.cpp @@ -126,6 +126,12 @@ auto CallJust(std::optional<std::filesystem::path> const& config_file, std::to_string(static_cast<std::underlying_type<LogLevel>::type>( *log_args.log_limit))); } + if (log_args.restrict_stderr_log_limit) { + cmd.emplace_back("--restrict-stderr-log-limit"); + cmd.emplace_back( + std::to_string(static_cast<std::underlying_type<LogLevel>::type>( + *log_args.restrict_stderr_log_limit))); + } if (log_args.plain_log) { cmd.emplace_back("--plain-log"); } |