You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: connector/routingconnector/logs.go
+1-2
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,8 @@ func newLogsConnector(
35
35
) (*logsConnector, error) {
36
36
cfg:=config.(*Config)
37
37
38
-
// TODO update log from warning to error in v0.116.0
39
38
if!cfg.MatchOnce {
40
-
set.Logger.Warn("The 'match_once' field has been deprecated. Set to 'true' to suppress this warning.")
39
+
set.Logger.Error("The 'match_once' field has been deprecated and will be removed in v0.120.0. Remove usage of the parameter to suppress this warning.")
Copy file name to clipboardExpand all lines: connector/routingconnector/metrics.go
+1-2
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,8 @@ func newMetricsConnector(
36
36
) (*metricsConnector, error) {
37
37
cfg:=config.(*Config)
38
38
39
-
// TODO update log from warning to error in v0.116.0
40
39
if!cfg.MatchOnce {
41
-
set.Logger.Warn("The 'match_once' field has been deprecated. Set to 'true' to suppress this warning.")
40
+
set.Logger.Error("The 'match_once' field has been deprecated and will be removed in v0.120.0. Remove usage of the parameter to suppress this warning.")
Copy file name to clipboardExpand all lines: connector/routingconnector/traces.go
+1-2
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,8 @@ func newTracesConnector(
35
35
) (*tracesConnector, error) {
36
36
cfg:=config.(*Config)
37
37
38
-
// TODO update log from warning to error in v0.116.0
39
38
if!cfg.MatchOnce {
40
-
set.Logger.Warn("The 'match_once' field has been deprecated. Set to 'true' to suppress this warning.")
39
+
set.Logger.Error("The 'match_once' field has been deprecated and will be removed in v0.120.0. Remove usage of the parameter to suppress this warning.")
0 commit comments