Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1524

SyslogAppender does not send FQDN hostname

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: logback-classic
    • Labels:
      None

      Description

      The SyslogAppender uses the SyslogStartConverter which only sends the hostname without domain name to the syslog server. To be able to differentiate between servers with the same name in different domains I propose to change getHostName() to getCanonicalHostName().

        Attachments

          Activity

            People

            Assignee:
            logback-dev Logback dev list
            Reporter:
            mats.adolfsson Mats Adolfsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: