Commit 1d8a74c8 authored by rem31's avatar rem31
Browse files

fix(engine/ext-command): no break on long output

parent 43321bc9
......@@ -22,9 +22,6 @@
#include "com/centreon/engine/commands/processing.hh"
#include <sys/time.h>
#include "absl/strings/str_replace.h"
#include "absl/strings/str_split.h"
#include "absl/strings/string_view.h"
#include "com/centreon/engine/broker.hh"
#include "com/centreon/engine/checks/checker.hh"
#include "com/centreon/engine/commands/processing.hh"
......
......@@ -281,8 +281,6 @@ void parse_check_output(std::string const& buffer,
* end_line is the position of the line end. */
size_t start_line{0}, end_line, pos_line;
int line_number{1};
log_v2::checks()->debug("Parsing check output start output {} find {}",
buffer, buffer.find("\n", start_line));
while (!eof) {
if (newlines_are_escaped &&
(pos_line = buffer.find("\\n", start_line)) != std::string::npos) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment