
Hi All, In the source code for PatternLayout.java in logback.classic the following lines for the rules for the context name pattern are present (I assume that 'cn' is a shorthand for the context name): 115 defaultConverterMap.put("cn", ContextNameAction.class.getName()); 116 defaultConverterMap.put("contextName", ContextNameConverter.class.getName()); This seems to be at odds with all the other rules for patterns. Either: a) i) The 'cn' pattern is not about the context name, if so then what does stand for? ii) Why does the class name indicate inheritance from a Joran Action rather than a Converter? Or b) The lines should be the following which is typical of other pattern rules: 115 defaultConverterMap.put("cn", ContextNameConverter.class.getName()); 116 defaultConverterMap.put("contextName", ContextNameConverter.class.getName()); Could you please clarify. Thanks in advance, Brett -- Brett Walker <brett.walker@geometryit.com<mailto:brett.walker@geometryit.com>> Software Developer / Analyst Geometry Pty Ltd Telephone 03 6223 1999 Mobile 0458 498 386 Fax 03 6223 1988 Web www.geometryit.com Address 31 Salamanca Square, Battery Point, TAS 7004, Australia Postal PO Box 844, Sandy Bay, TAS 7006, Australia