Skip to content

Conversation

@GuiLeme
Copy link
Collaborator

@GuiLeme GuiLeme commented Nov 3, 2025

What does this PR do?

It refactors the code for creating a pluginLogger, so now it will be set by the client and we have pretty much the same configurations as the main logger (being able to publish to external storage, configure log level and so on).

One other addition is that one can override the logging configuration per plugin.

Closes Issue(s)

Closes #231

How to test

In order to test it, I encourage you to try the samples/sample-data-channel-plugin, there I introduced the new logger with the logging configuration set in the manifest (you can play around with the values.)

More

It's worth mentioning that the name of the plugin is appended automatically into the logger, so that it's easily trackable.

Closely related to bigbluebutton/bigbluebutton#24185

@github-actions
Copy link

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

Copy link
Member

@Arthurk12 Arthurk12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, it works!
I added a few comments below and in the relative Core's PR for consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants