winston-cassandra
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -13,3 +13,4 @@ var util = require('util'); | ||
consistency: cql.types.consistencies.quorum, | ||
level: 'info' | ||
level: 'info', | ||
name: 'cassandra' | ||
}; | ||
@@ -26,3 +27,3 @@ | ||
//winston options | ||
this.name = 'cassandra'; | ||
this.name = this.options.name; | ||
this.level = this.options.level; | ||
@@ -29,0 +30,0 @@ //create a queue object that will emit the event 'prepared' |
@@ -1,4 +0,4 @@ | ||
{ | ||
{ | ||
"name": "winston-cassandra", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Cassandra transport for winston", | ||
@@ -20,17 +20,20 @@ "author": "Jorge Bay <jorgebaygondra@gmail.com>", | ||
"dependencies": { | ||
"cassandra-driver": ">= 1.0.3", | ||
"winston": ">= 0.7.2" | ||
"async": "^1.4.2", | ||
"cassandra-driver": "^2.2.2", | ||
"winston": "^1.1.1" | ||
}, | ||
"devDependencies": { | ||
"mocha": ">= 1.14.0", | ||
"async": ">= 0.2.9" | ||
"async": "^1.4.2", | ||
"mocha": "^2.3.3" | ||
}, | ||
"repository": { | ||
"type" : "git", | ||
"url" : "https://github.com/jorgebay/winston-cassandra.git" | ||
"type": "git", | ||
"url": "https://github.com/jorgebay/winston-cassandra.git" | ||
}, | ||
"bugs": { | ||
"url" : "https://github.com/jorgebay/winston-cassandra/issues" | ||
"url": "https://github.com/jorgebay/winston-cassandra/issues" | ||
}, | ||
"engines": {"node" : ">=0.10.0"}, | ||
"engines": { | ||
"node": ">=0.10.0" | ||
}, | ||
"scripts": { | ||
@@ -37,0 +40,0 @@ "test": "mocha test -R spec -t 5000" |
@@ -26,15 +26,11 @@ # winston-cassandra | ||
* __consistency:__ The consistency of the insert query (default: `quorum`). | ||
* __name:__ Name of the transport. | ||
In addition to the options accepted by the [Node.js Cassandra driver](https://github.com/jorgebay/node-cassandra-cql) | ||
[Client][0]. | ||
In addition to the options accepted by the [Node.js Cassandra driver](https://github.com/datastax/nodejs-driver). | ||
* __hosts:__ Cluster nodes that will handle the write requests: | ||
* __contactPoints:__ Cluster nodes that will handle the write requests: | ||
Array of strings containing the hosts, for example `['host1', 'host2']` (required). | ||
* __keyspace:__ The name of the keyspace that will contain the logs table (required). The keyspace should be already created in the cluster. | ||
* __[...][0]__ | ||
## License | ||
Distributed under the [MIT license](https://github.com/jorgebay/winston-cassandra/blob/master/LICENSE.txt). | ||
[0]: https://github.com/jorgebay/node-cassandra-cql#client |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
Invalid manifest file
QualityPackage has an invalid manifest file and can cause installation problems if you try to use it.
Found 1 instance in 1 package
131
1
8363
3
2
2
36
+ Addedasync@^1.4.2
+ Addedcassandra-driver@^2.2.2
+ Addedwinston@^1.1.1
+ Addedasync@0.9.21.0.01.5.2(transitive)
+ Addedcassandra-driver@2.2.2(transitive)
+ Addedcolors@1.0.3(transitive)
+ Addedcycle@1.0.3(transitive)
+ Addedeyes@0.1.8(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedlong@2.4.0(transitive)
+ Addedpkginfo@0.3.1(transitive)
+ Addedstack-trace@0.0.10(transitive)
+ Addedwinston@1.1.2(transitive)