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

[Enhancement] Separate Error Logs into a Dedicated File in log-manager #385

Open
wtt40122 opened this issue Jun 28, 2024 · 0 comments
Open

Comments

@wtt40122
Copy link
Collaborator

Description

Currently, our log-manager component receives and processes a large volume of log inputs. To better manage and monitor log information, we propose to categorize logs by directing error logs (ERROR level) to a specific error.log file, while other log levels continue to be output to the server.log file.

User Stories

  • As a developer, I want to easily distinguish and filter error logs to quickly locate issues.
  • As a system administrator, I need a clear logging policy for routine system monitoring and maintenance.

Expected Features

  1. The log-manager should be able to direct logs to different files based on log levels.
  2. Error logs (ERROR level) should be directed to error.log.
  3. All other log levels (such as INFO, WARN, DEBUG, etc.) should be directed to server.log.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant