var client = new elasticsearch.Client({
log : [{
type: 'stdio',
levels: ['error', 'warning']
}]
});
So, if you just wanted the errors to display, that would be.
var client = new elasticsearch.Client({
log : [{
type: 'stdio',
levels: ['error']
}]
});
More details can be found on the config page . Various logging levels are found here .
source
share