Skip to content

aiden-liu413/syslog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

syslog

syslog-spring-boot-starter 本项目封装syslog,让使用者只需要在配置文件中添加相关配置 即可开启syslogserver(服务端/接收端)

  • maven依赖
        <dependency>
            <groupId>com.cloudwise</groupId>
            <artifactId>syslog-spring-boot-starter</artifactId>
            <version>0.0.1-SNAPSHOT</version>
        </dependency>
  • 配置文件
cloudwise:
  syslog:
    #enable: false
    server:
      - host: 0.0.0.0
        port: 1231
        protocol: UDP
        handlerClass: org.productivity.java.syslog4j.server.impl.event.printstream.SystemErrSyslogServerEventHandler
      - host: 0.0.0.0
        port: 1121
        protocol: UDP
        handlerClass: org.productivity.java.syslog4j.server.impl.event.printstream.SystemErrSyslogServerEventHandler
      - host: 0.0.0.0
        port: 7777
        protocol: UDP
        handlerClass: org.productivity.java.syslog4j.server.impl.event.printstream.SystemErrSyslogServerEventHandler
  • 启动示例 图片

图片

About

syslog-spring-boot-starter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages