Issue Type: Bug Bug
Affects Versions: 1.0.13
Assignee: Logback dev list
Components: logback-classic
Created: 05/Nov/13 11:42 AM
Description:

We got
java.lang.IllegalArgumentException: For logger [***] child name [*** passed as parameter, may not include '.' after index***

To fix this LoggerNameUtil.getSeparatorIndexOf should be modified to return the index of dollar if before index of dot

    public static int getSeparatorIndexOf(final String name, final int fromIndex) {
        int i = name.indexOf(CoreConstants.DOT, fromIndex);
        int j = name.indexOf(CoreConstants.DOLLAR, fromIndex);
        if (i != -1 && j != -1) {
            return Math.min(i, j);
        } else {
            return Math.max(i, j);
        }
    }
Project: logback
Priority: Major Major
Reporter: Gael Lalire
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira