Compare commits

..

2 Commits

Author SHA1 Message Date
5d3bc13126 1.0.22 2018-11-11 02:00:41 +01:00
4b30234cb6 fix(core): update 2018-11-11 02:00:40 +01:00
3 changed files with 4 additions and 4 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@mojoio/elasticsearch",
"version": "1.0.21",
"version": "1.0.22",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@mojoio/elasticsearch",
"version": "1.0.21",
"version": "1.0.22",
"private": false,
"description": "log to elasticsearch in a kibana compatible format",
"main": "dist/index.js",

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}`);
}
}
);