ConditionalTest.conditionalConsoleApp_IF_THEN_True fails due to wrong way of 
creating the aHost property
--------------------------------------------------------------------------------------------------------

                 Key: LBCLASSIC-206
                 URL: http://jira.qos.ch/browse/LBCLASSIC-206
             Project: logback-classic
          Issue Type: Bug
          Components: Other
    Affects Versions: 0.9.20
         Environment: Mac OS/X 10.6, Java 1.6 64 bit
            Reporter: Robert Elliot
            Assignee: Logback dev list


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to