UnknownHostException when using logback with logback.xml
13 Dec
2011
13 Dec
'11
12:57 p.m.
Hi, when I use logback without a logback.xml, everything works fine, but when I add a logback.xml file, I get an UnknownHostException. This happens in the ch.qos.logback.core.util.ContextUtil class, when InetAddress.getLocalHost() is called. In our environment, there is no hostname mapping available to the JVM, so the JVM cannot find one. So why does logback require the IP at this point? Regards Jan Ehrhardt
5223
Age (days ago)
5223
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jan Ehrhardt