Skip to content

Node: Logging (Pino) #38

@mkermani144

Description

@mkermani144

Description

Write a simple service to log something every 10 seconds, with a random log level.

  • You should use Pino with log rotation enabled hourly. Each 2 hours, the old log files should be removed.
  • Logs should be piped through both console and file. The console logs should be in pretty format, not in JSON.

What to google

  • Logging in NodeJS
  • Log levels
  • Pino
  • Pino log transports
  • Log rotation

Suggested resources

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