Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
0.9.20
-
None
-
Mac OS/X 10.6, Java 1.6 64 bit
Description
ConditionalTest.conditionalConsoleApp_IF_THEN_True fails on my machine because it constructs the local host in the test using InetAddress.getLocalHost().getCanonicalHostName() whereas ContextUtil uses InetAddress.getLocalHost().getLocalHost(). On my machine the canonical hostname call returns an ip address whereas the localhost call returns a hostname. As they do not match the test fails.
Fixed on this branch http://github.com/Mahoney/logback/tree/mac-host-bug and pull request submitted.