mirror of
https://github.com/tufanbarisyildirim/gonginx.git
synced 2026-04-27 00:35:51 +03:00
[GH-ISSUE #27] Dumper does not preserve the formatting in log_format #10
Labels
No labels
bug
enhancement
good first issue
pull-request
question
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gonginx#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FeiYing9 on GitHub (Oct 19, 2023).
Original GitHub issue: https://github.com/tufanbarisyildirim/gonginx/issues/27
Originally assigned to: @tufanbarisyildirim on GitHub.
I have a log_format like this:
After the dump code ,the result is:
@tufanbarisyildirim commented on GitHub (Feb 20, 2026):
Thanks for reporting this. I re-checked against current
mainand this appears to be resolved now.Verification I ran:
go test ./parser -run 'TestParser_KeepDataInMultiLine01|TestParser_QuotedString_ISSUE65'(passes)log_formatsample and ran parse -> dump multiple times; output stayed multiline and stable (it no longer collapses into a single flattened line).Closing this as fixed in current code.