} else if (prio.equalsIgnoreCase("ERR")) //$NON-NLS-1
{
printDetails(System.err, s, t, c);
} else {
// N.B. if the string is not recognised, DEBUG is assumed
Priority p = Priority.getPriorityForName(prio);
if (log.isPriorityEnabled(p)) {// Thread method is potentially expensive
String tn = Thread.currentThread().getName();
StringBuilder sb = new StringBuilder(40);
sb.append(tn);
if (c.length()>0){