Skip to content

Commit

Permalink
Setting logger levels using cluster update settings does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchy committed Nov 21, 2012
1 parent 9668ae5 commit 929af8e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -79,7 +79,7 @@ public void clusterChanged(ClusterChangedEvent event) {
for (Map.Entry<String, String> entry : event.state().metaData().settings().getAsMap().entrySet()) {
if (entry.getKey().startsWith("logger.")) {
String component = entry.getKey().substring("logger.".length());
ESLoggerFactory.getLogger(component, entry.getValue()).setLevel(entry.getValue());
ESLoggerFactory.getLogger(component).setLevel(entry.getValue());
}
}
} catch (Exception e) {
Expand Down

0 comments on commit 929af8e

Please sign in to comment.