diff --git a/Readme.md b/Readme.md index 9294cab..5af495f 100644 --- a/Readme.md +++ b/Readme.md @@ -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 ` (`-t `): set number (``) 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] diff --git a/changelog.md b/changelog.md index 283c065..e882c95 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,9 @@ +### 0.4.0 ++ Add support for reconnecting to dropped TCP destinations (issue #3) + + `--reconnect` (`-r`) to enable + + `--reconnectTries ` (`-t `) 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 diff --git a/package.json b/package.json index 45b579f..1fd0327 100644 --- a/package.json +++ b/package.json @@ -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",