log-collector | 一款轻量级的日志收集框架,支持文件、数据库、es、http、feign以及自定义收集器的形式手动或者注解自动收集日志,无缝衔接spring-boot和gateway网关过滤器。 | Application Framework library

 by   Kestrong Java Version: Current License: Apache-2.0

kandi X-RAY | log-collector Summary

kandi X-RAY | log-collector Summary

log-collector is a Java library typically used in Server, Application Framework applications. log-collector has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

一款轻量级的日志收集框架,支持文件、数据库、es、http、feign以及自定义收集器的形式手动或者注解自动收集日志,无缝衔接spring-boot和gateway网关过滤器。
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              log-collector has a low active ecosystem.
              It has 0 star(s) with 0 fork(s). There are no watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              log-collector has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of log-collector is current.

            kandi-Quality Quality

              log-collector has no bugs reported.

            kandi-Security Security

              log-collector has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              log-collector is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              log-collector releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of log-collector
            Get all kandi verified functions for this library.

            log-collector Key Features

            No Key Features are available at this moment for log-collector.

            log-collector Examples and Code Snippets

            No Code Snippets are available at this moment for log-collector.

            Community Discussions

            QUESTION

            What is meant by required-api: param name=”#target” in config.xml file of AGL widgets?
            Asked 2020-Mar-06 at 09:53

            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:48

            I 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.

            Source https://stackoverflow.com/questions/60561230

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install log-collector

            添加依赖 gradle: compile 'com.xjbg:log-collector-spring-boot-starter:${version}' maven: <dependency> <groupId>com.xjbg</groupId> <artifactId>log-collector-spring-boot-starter</artifactId> <version>${version}</version> </dependency>
            最小化配置 以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

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/Kestrong/log-collector.git

          • CLI

            gh repo clone Kestrong/log-collector

          • sshUrl

            git@github.com:Kestrong/log-collector.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link