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 <[email protected]>
  • Loading branch information
MOZGIII committed Feb 19, 2020
1 parent deb5b4c commit b179c3d
Show file tree
Hide file tree
Showing 2 changed files with 378 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 b179c3d

Please sign in to comment.