ozhera icon indicating copy to clipboard operation
ozhera copied to clipboard

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

Open wtt40122 opened this issue 8 months ago • 0 comments

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.

wtt40122 avatar Jun 28 '24 07:06 wtt40122