
基本信息:
- 专利标题: 一种统一日志组件
- 专利标题(英):Unified log assembly
- 申请号:CN201911009992.3 申请日:2019-10-23
- 公开(公告)号:CN110780857A 公开(公告)日:2020-02-11
- 发明人: 纪森
- 申请人: 杭州涂鸦信息技术有限公司
- 申请人地址: 浙江省杭州市西湖区浙商财富中心3幢701室
- 专利权人: 杭州涂鸦信息技术有限公司
- 当前专利权人: 杭州涂鸦信息技术有限公司
- 当前专利权人地址: 浙江省杭州市西湖区浙商财富中心3幢701室
- 代理机构: 北京崇智专利代理事务所
- 代理人: 任小燕
- 主分类号: G06F8/20
- IPC分类号: G06F8/20 ; G06F8/71 ; G06F16/17 ; G06F16/18
The invention discloses a unified log component, which is used for managing a log file of an application, and realizes the following contents: 1) trace Id is acquired and outputted to the log file, and tracking a whole calling link according to the trace Id; 2) the log component comprises a log configuration file in a unified log format and is used for outputting the log file in a unified format;and 3) the change of the log configuration of the application is monitored by the log component, and correspondingly adjusting the log file according to a change item. According to the log component,the log file of the application can be conveniently managed. A whole calling link can be tracked according to the trace Id; the log file of the unified format is generated so that data statistical analysis is facilitated. Dynamic log level adjustment is achieved, revision searchability and safety are achieved through the log assembly, the log assembly can be more conveniently configured through the management platform, the use safety of the log component is improved, and the log files possibly influencing the application performance are monitored. The existing application is easy to access, and configuration and monitoring management of the log file are realized.
公开/授权文献:
- CN110780857B 一种统一日志组件 公开/授权日:2024-01-30