Skip to content

Commit

Permalink
Removed debugging output
Browse files Browse the repository at this point in the history
  • Loading branch information
M. Peter committed Jul 19, 2016
1 parent 0b5483f commit 26d0b76
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ The writer is connected to `nsqd`
## Release History
|Version|Date|Description|
|:--:|:--:|:--|
|0.1.1|2016-07-19|Removed debugging output|
|0.1.0|2016-07-15|Updated dependencies [Issue#2](https://github.com/mpneuried/nsq-logger/issues/2) and optimized activate [Issue#3](https://github.com/mpneuried/nsq-logger/issues/3)|
|0.0.7|2016-01-20|Added raw nsqjs Message as last argument to the `message` event |
|0.0.6|2015-12-04|Bugfix on setting an array configuration; added code banner|
Expand Down
4 changes: 2 additions & 2 deletions _src/reader.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class NsqReader extends require( "./basic" )
_initClient: =>
if @client
return @client
@warning "start reader", @topic, @channel, @config.namespace, @config.lookupdHTTPAddresses
@debug "start reader", @topic, @channel, @config.namespace, @config.lookupdHTTPAddresses
@client = new nsq.Reader( @nsAdd( @topic ), @channel, @config )

@client.on( nsq.Reader.NSQD_CLOSED, @onDisconnect )
Expand All @@ -65,7 +65,7 @@ class NsqReader extends require( "./basic" )

onDiscard: ( msg )=>
@emit( "exceeded", msg.json() )
@warning "message exceeded", @topic, msg.json()
@info "message exceeded", @topic, msg.json()
return

onMessage: ( msg )=>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nsq-logger",
"version": "0.1.0",
"version": "0.1.1",
"description": "A nsq reader factory to handle readers multiple topics based on the `nsq-topics` module",
"keywords": [],
"homepage": "https://github.com/mpneuried/nsq-logger",
Expand Down

0 comments on commit 26d0b76

Please sign in to comment.