README.md in remote_syslog-1.6.8 vs README.md in remote_syslog-1.6.9
- old
+ new
@@ -46,10 +46,11 @@
--pid-file FILENAME Location of the PID file (default /var/run/remote_syslog.pid)
--parse-syslog Parse file as syslog-formatted file
-s, --severity SEVERITY Severity (notice)
--strip-color Strip color codes
--tls Connect via TCP with TLS
+ --tcp Connect via TCP (no TLS)
--new-file-check-interval INTERVAL
Time between checks for new files
Advanced options:
--[no-]eventmachine-tail Enable or disable using eventmachine-tail
@@ -76,13 +77,13 @@
$ remote_syslog -c configs/logs.yml -p 12345 /var/log/mysqld.log
Stay attached to the terminal, look for and use `/etc/log_files.yml` if it
exists, write PID to `/tmp/remote_syslog.pid`, and send with facility local0
-to `a.server.com:514`:
+to `a.example.com:514`:
- $ remote_syslog -D -d a.server.com -f local0 -P /tmp /var/log/mysqld.log
+ $ remote_syslog -D -d a.example.com -f local0 --pid-file /tmp/remote_syslog.pid /var/log/mysqld.log
### Windows
To run in Windows, start in a DOS Prompt or batch file (does not automatically
run in the background):
@@ -188,13 +189,13 @@
### Multiple instances
Run multiple instances to support more than one message-specific file format
or to specify unique syslog hostnames.
-To do that, provide an alternate PID filename as a command-line option
-to the additional instance(s). For example:
+To do that, provide an alternate PID path as a command-line option to the
+additional instance(s). For example:
- --pid-file remote_syslog_2.pid
+ --pid-file /var/run/remote_syslog_2.pid
### Parse fields from log messages
Rarely needed. Usually only used when remote_syslog is watching files