[logback-dev] [JIRA] (LOGBACK-1475) SyslogOutputStream ignores IP address changes for Syslog DNS host
noreply-jira at qos.ch
Thu Jul 4 12:02:00 CEST 2019
Simon Dean created LOGBACK-1475:
Summary: SyslogOutputStream ignores IP address changes for Syslog DNS host
Issue Type: Bug
Affects Versions: 1.2.3
Reporter: Simon Dean
Assignee: Logback dev list
The SyslogOutputStream converts the syslogHost to an IP address within its constructor. This means that it only performs a DNS resolution for the Syslog host once, at start up. If the IP address of the System host changes (and is updated in the DNS system) this class will never pick up the change.
The suggested fix is to move the DNS resolution from the constructor into the flush method.
This message was sent by Atlassian JIRA
More information about the logback-dev