fix(core): update

This commit is contained in:
Philipp Kunz 2018-11-11 02:00:40 +01:00
parent 271971a373
commit 4b30234cb6

View File

@ -36,7 +36,7 @@ export class ElasticSearch<T> {
constructor(optionsArg: IElasticSearchConstructorOptions) {
this.client = new ElasticClient({
host: this.computeHostString(optionsArg),
log: 'trace'
// log: 'trace'
});
this.indexPrefix = optionsArg.indexPrefix;
this.indexRetention = optionsArg.indexRetention;
@ -88,7 +88,7 @@ export class ElasticSearch<T> {
console.log(error);
this.elasticScheduler.addFailedDoc(logPackageArg);
} else {
console.log(`ElasticLog: ${logPackageArg.message}`);
// console.log(`ElasticLog: ${logPackageArg.message}`);
}
}
);