Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
/ aliyun-logback Public archive

logback日志组件与阿里云日志服务的结合

Notifications You must be signed in to change notification settings

wuditata/aliyun-logback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

aliyun-logback

logback日志组件与阿里云日志服务的结合

<appender name="aliyun" class="com.hwc.aliyun.logback.AliyunLogbackAppender">
    <projectName>projectName</projectName>
    <logstore>logstoreName</logstore>
    <topic>topicName</topic>
    <accessKeyId></accessKeyId>
    <accessKey></accessKey>
    <endpoint>cn-[地域]-intranet.log.aliyuncs.com</endpoint>
    <timeFormat>yyyy-MM-dd HH:mm:ss</timeFormat>
    <timeZone>PRC</timeZone>
</appender>
<springProfile name="product">
    <root level="INFO">
        <appender-ref ref="CONSOLE"/>
        <appender-ref ref="aliyun"/>
    </root>
</springProfile>

About

logback日志组件与阿里云日志服务的结合

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages