Skip to content

Latest commit

 

History

History
132 lines (94 loc) · 2.84 KB

README.adoc

File metadata and controls

132 lines (94 loc) · 2.84 KB

quarkus-logging-aliyun

quarkus extension of aliyun log platform

Quick start

  • 1、Introduce maven coordinates

        <dependency>
            <groupId>org.github.keking</groupId>
            <artifactId>quarkus-aliyunlog-ext</artifactId>
            <version>1.0-SNAPSHOT</version>
        </dependency>
  • 2、Add the following configuration in the application.properties file

quarkus.log.aliyun=false
quarkus.log.aliyun.topic=xx
quarkus.log.aliyun.name=xx
quarkus.log.aliyun.logstore=xx
quarkus.log.aliyun.endpoint=xx
quarkus.log.aliyun.access-key-id= = xx
quarkus.log.aliyun.access-key-secret=xx
quarkus.log.aliyun.user-agent=xx

Configuration instructions

[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime

Configuration property

Type

Default

是否开启阿里云日志

boolean

false

Level

INFO

string

string

阿里云日志接口

string

阿里云日志accessKeyId

string

阿里云日志accessKeySecret

string

阿里云日志userAgent

string

日志的topic

string