Skip to content

Commit

Permalink
Change readme and app name to use scope
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellucio committed Aug 15, 2018
1 parent 500a5d7 commit 80e4f86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ An quick and dirty library to redirect your [PM2](http://pm2.io) logs to a [Logs
Tested on node 8.11.3, requires pm2.

```sh
pm2 install pm2-logstash
pm2 install @easynvest/pm2-logstash
```

## Configuration
Expand All @@ -27,12 +27,12 @@ This module has multiple configuration variables, all fed into node-logstash-cli
After having installed the module:

```sh
pm2 set pm2-logstash:<param> <value>
pm2 set @easynvest/pm2-logstash:<param> <value>
```

Examples:

```sh
pm2 set pm2-logstash:logstash_host my.cool.host
pm2 set pm2-logstash:logstash_port 12345
```
pm2 set @easynvest/pm2-logstash:logstash_host my.cool.host
pm2 set @easynvest/pm2-logstash:logstash_port 12345
```
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pm2.Client.launchBus(function(err, bus) {
return console.error(err);
}
bus.on("log:out", function(log) {
if (log.process.name === "logstash") {
if (log.process.name === packageJSON.name) {
return;
}

Expand Down

0 comments on commit 80e4f86

Please sign in to comment.