Commit 8a11062
BUG/MINOR: log: fix broken '+bin' logformat node option
In 12d08cf ("BUG/MEDIUM: log: don't ignore disabled node's options"),
while trying to restore historical node option inheritance behavior, I
broke the '+bin' logformat node option recently introduced in b7c3d8c
("MINOR: log: add +bin logformat node option").
Indeed, because of 12d08cf, LOG_OPT_BIN is not set anymore on
individual nodes even if it was set globally, making the feature unusable.
('+bin' is also used for binary cbor encoding)
What I should have done instead is include LOG_OPT_BIN in the options
inherited from global ones. This is what's being done in this commit.
Misleading comment was adjusted.
It must be backported in 3.0 with 12d08cf.
(cherry picked from commit 0030f72)
Signed-off-by: Christopher Faulet <[email protected]>1 parent a45a8e6 commit 8a11062
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
933 | | - | |
| 933 | + | |
| 934 | + | |
934 | 935 | | |
935 | 936 | | |
936 | 937 | | |
937 | | - | |
| 938 | + | |
938 | 939 | | |
939 | | - | |
| 940 | + | |
940 | 941 | | |
| 942 | + | |
| 943 | + | |
941 | 944 | | |
942 | 945 | | |
943 | 946 | | |
| |||
0 commit comments