log-collector | 一款轻量级的日志收集框架,支持文件、数据库、es、http、feign以及自定义收集器的形式手动或者注解自动收集日志,无缝衔接spring-boot和gateway网关过滤器。 | Application Framework library
kandi X-RAY | log-collector Summary
kandi X-RAY | log-collector Summary
一款轻量级的日志收集框架,支持文件、数据库、es、http、feign以及自定义收集器的形式手动或者注解自动收集日志,无缝衔接spring-boot和gateway网关过滤器。
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of log-collector
log-collector Key Features
log-collector Examples and Code Snippets
Community Discussions
Trending Discussions on Application Framework
QUESTION
I am trying to understand various available AGL specific options that we can give in config.xml and I am referring to the link below
https://docs.automotivelinux.org/docs/en/halibut/apis_services/reference/af-main/2.2-config.xml.html
This is the sample config.xml file
...ANSWER
Answered 2020-Mar-06 at 09:48I figured out why we need this
required-api: param name="#target"
OPTIONAL(not compulsory)
It declares the name of the unit(in question it is main) requiring the listed apis. Only one instance of the param “#target” is allowed. When there is not instance of this param, it behave as if the target main was specified.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install log-collector
最小化配置 以database收集器为例:开启收集器aop注解,设置默认收集器为database,然后初始化database收集器(线程池大小10,丢弃策略为丢弃最早的),开启过滤器传递链路id(请求头中的X-Request-Id) log: collector: enable: true application: test-log-collector defaultCollectorType: database filter: enable: true request-id-head-name: X-Request-Id database: enable: true poolSize: 10 rejectPolicy: discard_oldest 日志收集: //①编程式收集日志 LogCollectors.defaultCollector().log(LogInfo.builder().build()); //②通过注解方式收集日志 @CollectorLog(businessNo = "#SensitiveStrategy.ACCESS_KEY.apply(#userInfo.userName)") public void addUser(UserInfo userInfo) { } //③通过配置属性中的pointcut属性统一收集指定路径的日志 //更多内容查看test下面的测试用例
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page