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
The log-manager should be able to direct logs to different files based on log levels.
Error logs (ERROR level) should be directed to error.log.
All other log levels (such as INFO, WARN, DEBUG, etc.) should be directed to server.log.
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 specificerror.log
file, while other log levels continue to be output to theserver.log
file.User Stories
Expected Features
log-manager
should be able to direct logs to different files based on log levels.error.log
.server.log
.