Roman T created LOGBACK-1280: -------------------------------- Summary: ${HOSTNAME} as FQDN Key: LOGBACK-1280 URL: https://jira.qos.ch/browse/LOGBACK-1280 Project: logback Issue Type: Improvement Environment: At the moment if we use HOSTNAME in our logback.xml, it is a short version of hostname. The problem with it, we've got two environments testing and production.
In testing env we've got the server webservice-01.ipc00.pro00.eu.firm.com, on the other hand in production we've got webservice-01.ipc00.tst00.eu.firm.com . When the both sever write some logs in our kibana we can't make out, which server logs, because the hostname for both is webservice-01 If you would take for HOSTNAME InetAddress.html#getCanonicalHostName it would much better. PS. I know I can define PropertyDefiner and inject what I want, but it quite silly that the HOSTNAME variable doesn't work propertly in logback Reporter: Roman T Assignee: Logback dev list Priority: Minor -- 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