@tdarwin noticed that the routingconnector wasnt emitting ottl logs when debug logging was enabled. This turned out to be because we added the debug statement to StatementSequence.Execute but the routingconnector uses Statement.Execute, but it only works with single statements.
This PR moves the debug log into the Statement.Execute function so that more components benefit from the debug logs.
Description
@tdarwin noticed that the routingconnector wasnt emitting ottl logs when debug logging was enabled. This turned out to be because we added the debug statement to
StatementSequence.Execute
but the routingconnector usesStatement.Execute
, but it only works with single statements.This PR moves the debug log into the
Statement.Execute
function so that more components benefit from the debug logs.Testing
Tested locally using this config:
The collector spit out these logs: