ppkarwasz commented on issue #2111:
URL:
https://github.com/apache/logging-log4j2/issues/2111#issuecomment-1871480883
@grobmeier, good question!
The _naive_ answer is "if you want to use `${hostName}` in a configuration,
`InetAddress#getLocalHost` is one of the few ways to do it in Java", but in
fact I don't remember the last time I saw `${hostName}` in a configuration
file. We should probably move it to a lookup in 3.x.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]