Skip to content

Commit

Permalink
Prepare the structure to implement new multiline logic
Browse files Browse the repository at this point in the history
Signed-off-by: MOZGIII <mike-n@narod.ru>
  • Loading branch information
MOZGIII committed Feb 19, 2020
1 parent deb5b4c commit 7a685d0
Show file tree
Hide file tree
Showing 2 changed files with 384 additions and 39 deletions.
2 changes: 1 addition & 1 deletion src/sources/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pub fn file_source(

let messages: Box<dyn Stream<Item = (Bytes, String), Error = ()> + Send> =
if let Some(msi) = message_start_indicator {
Box::new(LineAgg::new(
Box::new(LineAgg::new_legacy(
rx,
Regex::new(&msi).unwrap(), // validated in build
multi_line_timeout,
Expand Down
Loading

0 comments on commit 7a685d0

Please sign in to comment.