[Release-1.8] log: Add "%_" to print message with escaped newlines (#13832)#288
Conversation
This patch adds a new custom flag `%_` to the log pattern to print the actual message to log, but with escaped newlines. Signed-off-by: Dhi Aurrahman <dio@tetrate.io>
|
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
|
|
||
| New Features | ||
| ------------ | ||
| * config: added new runtime feature `envoy.features.enable_all_deprecated_features` that allows the use of all deprecated features. |
There was a problem hiding this comment.
Why so many features are included?
There was a problem hiding this comment.
not sure, cherry-pick probably updated this file..
There was a problem hiding this comment.
Is this a clean cherry-pick? The original pr is not adding so many text about features.
There was a problem hiding this comment.
Yeah there was not even a single conflict
There was a problem hiding this comment.
we can remove the other lines if you want...
There was a problem hiding this comment.
The code is exactly the same so I assume it is ok.
This patch adds a new custom flag
%_to the log pattern to print theactual message to log, but with escaped newlines.
Signed-off-by: Dhi Aurrahman dio@tetrate.io
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]