Change log level with embedded java

By default the log level for elastic search appears to be set at INFO.
I want to bump this to DEBUG. However, I don't have a configuration
directory with the logging.yml file to configure. Is there a setting I
can add programatically (e.g. - to the Builder settings) to change
this?

Builder settings = ImmutableSettings.settingsBuilder();
settings.put("index.number_of_shards", 5);
settings.put("index.number_of_replicas", 1);
//settings.put("rootLogger", "DEBUG, console, file"); //something like
this???
settings.build();
NodeBuilder nBuilder = nodeBuilder().settings(settings);
nBuilder.build().start();

Thanks,
Bob

When embedded, elasticsearch does not configure logging, it uses whatever logging system you use (slf4j, log4, jul). You should configure logging however you like (and the logging component names will start with org.elasticsearch).
On Friday, April 22, 2011 at 6:44 AM, Bob wrote:

By default the log level for Elasticsearch appears to be set at INFO.
I want to bump this to DEBUG. However, I don't have a configuration
directory with the logging.yml file to configure. Is there a setting I
can add programatically (e.g. - to the Builder settings) to change
this?

Builder settings = ImmutableSettings.settingsBuilder();
settings.put("index.number_of_shards", 5);
settings.put("index.number_of_replicas", 1);
//settings.put("rootLogger", "DEBUG, console, file"); //something like
this???
settings.build();
NodeBuilder nBuilder = nodeBuilder().settings(settings);
nBuilder.build().start();

Thanks,
Bob