}
buf.append("]]></log4j:throwable>\r\n");
}
if(locationInfo) {
LocationInfo locationInfo = event.getLocationInformation();
buf.append("<log4j:locationInfo class=\"");
buf.append(Transform.escapeTags(locationInfo.getClassName()));
buf.append("\" method=\"");
buf.append(Transform.escapeTags(locationInfo.getMethodName()));
buf.append("\" file=\"");
buf.append(Transform.escapeTags(locationInfo.getFileName()));
buf.append("\" line=\"");
buf.append(locationInfo.getLineNumber());
buf.append("\"/>\r\n");
}
if (properties) {
Set keySet = event.getPropertyKeySet();