docs: document "got incomplete line before first line" warning in in_tail - #655
Merged
Merged
Conversation
kenhys
reviewed
Jul 29, 2026
Add an FAQ entry explaining that in_tail emits this warning only in multiline mode (format_firstline), when it reads a continuation line before matching a first line. List the common causes: reading that starts in the middle of a record (e.g. after rotation or with read_from_head false), a format_firstline that does not match the real first line, and a single <parse> shared by files of different formats through a path glob. Note that these lines are dropped unless emit_unmatched_lines is set to true. Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Co-authored-by: Kentaro Hayashi <kenhys@gmail.com> Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Watson1978
force-pushed
the
docs-tail-incomplete-line-faq
branch
from
July 29, 2026 02:45
1220a80 to
4f209b8
Compare
kenhys
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add an FAQ entry to
input/tail.mdthat documents thegot incomplete line before first linewarning emitted byin_tail.Why
Reported in #466. The warning is emitted by
in_tailin multiline mode, but it was not documented anywhere, so users had no way to tell what it meant or whether data was being lost.Note
#466 also points out that the
formatNparameter table on themultilineparser page does not match the implementation. That part is left for a separate follow-up PR, so this PR intentionally does not close #466.Refs #466