Some businesses involve a large amount of log output, for example:
- Troubleshoot abnormal problems in the later stage of the system
- Multi-step data calculation error troubleshooting
- Problem tracing(Sample toP: Third-party service provides wrong data,Cause calculation errors and lead to economic losses)Evidence of proof required A lot of log printing will cause some problems, like to:One request will print a large number of logs of the calculation process, the request processing time is long but the print is more than one log
If you use the ELK log architecture, you may not only need extremely standardized logs! Too much job!!!
- You can respond to a requestAll the log will be group by tag,this tag has business info and then will be out put action info
- You can target an interfaceStory log beginning to ending for every time run function
- You can still use slf4j framework and out put log to story log
- You can custom save log plan
- Can be base onto micro service show request link
- Easy use in SpringBoot project
- Configuration is simple,just change something code can be used to StoryLog
- Everything requesting task will be saved to memory,until the request is processed! please don't out put binary data to log!
- It not slf4j framework implement.This is log additional function,you can use it handler any request create by log! It can be batter help you find log easy
