Skip to content

Commit

Permalink
Merge branch 'release/0.4.0' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners committed Jun 13, 2016
2 parents 31c9b82 + f2b39e6 commit 2f91bb4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ $ node foo | pino-socket -a 10.10.10.5 -p 5000
+ `--address` (`-a`): the address for the destination socket. Default: `127.0.0.1`.
+ `--mode` (`-m`): either `tcp` or `udp`. Default: `udp`.
+ `--port` (`-p`): the port for the destination socket. Default: `514`.
+ `--reconnect` (`-r`): enable reconnecting to dropped TCP destinations. Default: off
+ `--reconnectTries <n>` (`-t <n>`): set number (`<n>`) of reconnect attempts
before giving up. Default: infinite
+ `--echo` (`-e`): echo the received messages to stdout. Default: enabled.
+ `--no-echo` (`-ne`): disable echoing received messages to stdout.
+ `--cee` (`-c`): prefix the message with `@cee: ` for [rsyslog cee][rsyscee]
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### 0.4.0
+ Add support for reconnecting to dropped TCP destinations (issue #3)
+ `--reconnect` (`-r`) to enable
+ `--reconnectTries <n>` (`-t <n>`) to set the number of retries
before giving up (default: infinite)

### 0.3.0
+ Add cli help output via `--help` (@mcollina)
+ Add a Contributing.md file
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": "pino-socket",
"version": "0.3.0",
"version": "0.4.0",
"description": "A pino 'transport' for writing to a tcp or udp socket",
"homepage": "https://github.com/jsumners/pino-socket",
"bugs": "https://github.com/jsumners/pino-socket/issues",
Expand Down

0 comments on commit 2f91bb4

Please sign in to comment.