-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce wasm::logger
#16153
Introduce wasm::logger
#16153
Conversation
Introduces abstract wasm::logger base class exposing a virtual interface for logging. Future implementations will encapsulate higher level log management facilities. Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
f264720
to
421e88b
Compare
force push contents:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chef's kiss
Encapsulates a transform name and a ss::logger. Writes to broker logs for now, but in future will: - Handle line buffering - Forward log lines to a higher level log management facility
421e88b
to
63da797
Compare
force push to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
63da797
to
8c49c66
Compare
force push missed a unit test running locally |
The main change here is that, rather than initializing factories with a `ss::logger*`, we'll initialize _engines_ with an owning `wasm::logger` reference. The rest is just plumbing. Also introduces some thin loggers for testing purposes and updates `transform::service` with `transform::logger`. Signed-off-by: Oren Leiman <oren.leiman@redpanda.com>
8c49c66
to
d192d01
Compare
new failures in https://buildkite.com/redpanda/redpanda/builds/43923#018d1f96-4bad-412b-8698-dfc41de61919:
|
ducktape was retried in https://buildkite.com/redpanda/redpanda/builds/43923#018d1fa5-81e7-4242-b346-8de6921b35c5 |
CI Failure:
|
/backport v23.3.x |
Failed to create a backport PR to v23.3.x branch. I tried:
|
This PR introduces
wasm::logger
, which is intended to subsumess::logger
for transform logging purposes.Closes https://github.com/redpanda-data/core-internal/issues/997
Backports Required
Release Notes