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

[Feature Request] Add Toggle Switch for Immediate Log Collection #371

Open
wtt40122 opened this issue Jun 20, 2024 · 3 comments
Open

[Feature Request] Add Toggle Switch for Immediate Log Collection #371

wtt40122 opened this issue Jun 20, 2024 · 3 comments
Labels
discussion discussion and exchange idea enhancement New feature or request

Comments

@wtt40122
Copy link
Collaborator

Issue Description

Currently, our logging system lacks a feature that allows users to enable or disable immediate log collection. This can be particularly useful in scenarios where we need to control the log data flow for performance tuning or during specific operational windows.

Proposed Feature

  • Introduce a configuration switch that can be used to toggle the immediate collection of logs.
  • The switch should be easily accessible and configurable through the system's settings or configuration files.

Use Cases

  1. Performance optimization during periods of high traffic where immediate log collection might impact system responsiveness.
  2. Temporarily disabling log collection for environments where logs are not immediately required, such as during overnight batch processing.

Implementation Details

  • The switch could be implemented as an environment variable, a system property, or a setting in the UI if applicable.
  • The system should read this switch at startup and periodically check for changes during runtime to adjust log collection behavior accordingly.

Benefits

  • Provides greater control over log data management.
  • Enhances system performance by allowing selective log collection.
  • Simplifies operations by providing an easy-to-use toggle for log collection.
@sadadw1
Copy link
Collaborator

sadadw1 commented Jun 20, 2024

I have a question: is this configuration done according to the application dimension?

@wtt40122 wtt40122 added enhancement New feature or request discussion discussion and exchange idea labels Jun 20, 2024
@wtt40122
Copy link
Collaborator Author

I have a question: is this configuration done according to the application dimension?

this configuration becomes effective through the dimensions defined by the specific tail parameters, ensuring its functionality and applicability

@sadadw1
Copy link
Collaborator

sadadw1 commented Jun 20, 2024

I have a question: is this configuration done according to the application dimension?

this configuration becomes effective through the dimensions defined by the specific tail parameters, ensuring its functionality and applicability

Okay, I understand. The tail dimension is more detailed than the application dimension. I think this feature is great, and I look forward to its implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion discussion and exchange idea enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants