Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support logging to stderr and rotation #1572

Open
zyy17 opened this issue May 12, 2023 · 0 comments
Open

Support logging to stderr and rotation #1572

zyy17 opened this issue May 12, 2023 · 0 comments
Labels
C-enhancement Category Enhancements

Comments

@zyy17
Copy link
Collaborator

zyy17 commented May 12, 2023

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

@zyy17 zyy17 added the C-enhancement Category Enhancements label May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category Enhancements
Projects
None yet
Development

No branches or pull requests

1 participant