Skip to content

Use same logger structure as bbb-html5 #231

@prlanzarin

Description

@prlanzarin

Is your feature request related to a problem? Please describe.

The SDK's logger uses the same logging library as BigBlueButton does.
However, its implementation differs significantly: different target streams, format, serializer etc.
It'd be useful if the SDK's logger followed BBB's for multiple reasons:

  • Re-using an established logging pattern is good for both developers and admins who have worked on log post-processing systems for bbb-html5
  • Having the ability to send log entries to remote endpoints
  • Pulling BBB logging configs (e.g.: endpoint, log levels, target streams) in case a plugin doesn't have its own override configuration

Describe the solution you'd like

Rework the plugin logger to be similar - if not exactly equal - to bbb-html5's logger.
See https://github.com/bigbluebutton/bigbluebutton/tree/v3.0.x-release/bigbluebutton-html5/imports/startup/client/logger.
This includes: streams, serializers, formats, primitives, console behavior.

Plugin loggers should also:

Describe alternatives you've considered

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions