Skip to content

feat(jans-cedarling): Implement shared logging service for all services #10730

@rmarinn

Description

@rmarinn

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

We currently have no logging for events that happen in the JWT service and the http service.

The following must be logged for the JWT service:

  • System debug log when running ignoring configs that Cedarling does not support and can safely ignore; e.g. ignoring a non-existent algorithm.
  • System debug log when ignoring input tokens that aren't specified in the config.

And for the http service:

  • when a request fails

Describe the solution you'd like

  • Initialize a logger in the service factory which will be shared by all services for logging.
  • Log the scenarios written above.

Describe alternatives you've considered

N/A

Additional context

N/A

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions