Simon Dean created LOGBACK-1475: ----------------------------------- Summary: SyslogOutputStream ignores IP address changes for Syslog DNS host Key: LOGBACK-1475 URL: https://jira.qos.ch/browse/LOGBACK-1475 Project: logback Issue Type: Bug Components: logback-core 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 (v7.3.1#73012) _______________________________________________ logback-dev mailing list logback-dev@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-dev