GreptimeTeam/greptimedb

Support logging to stderr and rotation

Open

#1,572 opened on May 12, 2023

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Rust (495 forks)github user discovery
C-enhancementgood first issue

Repository metrics

Stars
 (6,332 stars)
PR merge metrics
 (PR metrics pending)

Description

What type of enhancement is this?

Other

What does the enhancement do?

The logging module should support the following functions:

  1. Logging to stderr: If the user doesn't provide the --log-dir, the service should output to stderr(or stdout). When greptimedb is running in an environment that already has a logging collector, it doesn't need to output the logging;
  2. Logging rotation to save disk spaces if output to file;

Implementation challenges

No response

Contributor guide