Hi - any tips for how I should configure the logging.yml file to give me
more verbose output, including source ip address if possible, to give more
info when an index is created?
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2b423a9b-1e60-4e53-87b0-4681be643683%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
Ivan
(Ivan Brusic)
July 30, 2014, 5:21pm
2
The logging.xml file will only control which logging statements get
outputed, not the amount of information it may contain.
The log line in question does not have the source ip, which is long gone by
the time the service gets the request.
indexMetaData = indexMetaDataBuilder.build();
} catch (Exception e) {
failureReason = "failed to build index metadata";
throw e;
}
MetaData newMetaData = MetaData.builder(currentState.metaData())
.put(indexMetaData, false)
.build();
logger.info("[{}] creating index, cause [{}], shards [{}]/[{}], mappings {}", request.index(), request.cause(), indexMetaData.numberOfShards(), indexMetaData.numberOfReplicas(), mappings.keySet());
ClusterBlocks.Builder blocks = ClusterBlocks.builder().blocks(currentState.blocks());
if (!request.blocks().isEmpty()) {
for (ClusterBlock block : request.blocks()) {
blocks.addIndexBlock(request.index(), block);
}
}
if (request.state() == State.CLOSE) {
blocks.addIndexBlock(request.index(), MetaDataIndexStateService.INDEX_CLOSED_BLOCK);
}
--
Ivan
On Wed, Jul 30, 2014 at 5:15 AM, bitsofinfo.g@gmail.com wrote:
Hi - any tips for how I should configure the logging.yml file to give me
more verbose output, including source ip address if possible, to give more
info when an index is created?
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/2b423a9b-1e60-4e53-87b0-4681be643683%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/2b423a9b-1e60-4e53-87b0-4681be643683%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout .
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQBadWwueKO%2Bd_A-NdUiE0Cf3r32tY4TUha%2BrgzdpeobFA%40mail.gmail.com .
For more options, visit https://groups.google.com/d/optout .