'Does latest Dropwizard version have inbuilt tcp handling for Syslog?

I am working on Syslog where I want to send logs through tcp connection. Initially I had written custom SyslogAppender and SyslogTCPOututStream and it was working. I want to know if in the latest release of dropwizard, can we send the logs through tcp using the inbuilt SyslogApender of Dropwizard ?

local.yaml file with Syslog Configuration

logging: 
  level: INFO 
  appenders: 
  - type: syslog 
    host: localhost 
    port: 514 
    facility: local0 
    threshold: ALL 
    stackTracePrefix: \t 
    logFormat: "%-5p [%d{ISO8601,UTC}] %c: %m%n%rEx" 
    filterFactories: 
     - type: URI

Resources Referred: https://www.dropwizard.io/en/latest/manual/configuration.html https://www.dropwizard.io/_/downloads/en/stable/pdf/



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source