final String levelName = getStringProperty(properties, getKey("handler", handlerName, "level"));
if (levelName != null) {
configuration.setLevel(levelName);
}
final String formatterName = getStringProperty(properties, getKey("handler", handlerName, "formatter"));
<BUG>if (formatterName != null) {
configuration.setFormatterName(formatterName);
configureFormatter(properties, configuration.getFormatterNameValueExpression().getResolvedValue());
}</BUG>
final String encoding = getStringProperty(properties, getKey("handler", handlerName, "encoding"));

final String levelName = getStringProperty(properties, getKey("handler", handlerName, "level"));
if (levelName != null) {
configuration.setLevel(levelName);
}
final String formatterName = getStringProperty(properties, getKey("handler", handlerName, "formatter"));
if (formatterName != null) {
if (getStringProperty(properties, getKey("formatter", ValueExpression.STRING_RESOLVER.resolve(formatterName).getResolvedValue())) == null) {
printError("Formatter %s is not defined%n", formatterName);
} else {
configuration.setFormatterName(formatterName);
configureFormatter(properties, configuration.getFormatterNameValueExpression().getResolvedValue());
}
}
final String encoding = getStringProperty(properties, getKey("handler", handlerName, "encoding"));
