Skip to content

Create a Custom Logger #7

@ChakshuGautam

Description

@ChakshuGautam

Create a custom logger which can replace the existing Lombok, Sl4j log and can push logs as a stream to Kafka. See this.

  1. Since the logger would mostly be a configuration log42j.xml in spring, try to inject is using Utils to all the other repos.
  2. The library to use -> https://logging.apache.org/log4j/2.x/manual/appenders.html#KafkaAppender
  3. The third step would be to send these to Sunbird Telemetry Service. So telemetry object creation to be part of Utils service. See spec here

Tasks

  • Create a generic Log object from the spec in JSON
  • Update the logger to send generic objects to kafka. This needs to be an async appender.

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