From 7ec3c01395304c47a8643610a4cfa7a9aa1f7b31 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 9 Apr 2024 15:11:15 +0200 Subject: Add just-mr command-line option to estrict log limit on stderr --- src/other_tools/just_mr/launch.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/other_tools/just_mr/launch.cpp') 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 const& config_file, std::to_string(static_cast::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::type>( + *log_args.restrict_stderr_log_limit))); + } if (log_args.plain_log) { cmd.emplace_back("--plain-log"); } -- cgit v1.2.3