requirement

来源:互联网 发布:伯罗奔尼撒战争 知乎 编辑:程序博客网 时间:2024/04/30 08:22

Description:

The lib is a common java lib for other system logging record and logging management.

Business problem:

1.The current log configuration information for each system is independent, it is not conducive to management, each system needs to repeat configuration.
2.Log output format is not uniform.The log information is not detailed for the exception event.
3.View the log information is difficult and can not check the log information under conditions.

Technical needs & proposal:

1.It is a common component and can be easily used by other systems.
2.Log configuration is flexible and concentrated.It can configure the system logging level, log filters, log storage settings, etc.
3.It is to have a unique call interface, well format log output.It should automatically catch  for system exception log.
4.Log information can be saved to files and database.
5.Provide some good tool to retrieve useful/critical information from log file or DB.

Successful factors:

Log service common lib is based on log4j.Apache log4j is a successful Java-based logging utility.

原创粉丝点击