<commit_before># remote_syslog2

Remote_syslog tails one or more log files and sends syslog messages to a
remote central syslog server. It generates packets itself, ignoring the system
syslog daemon, so its configuration doesn't affect system-wide logging.

Uses:

 * Collecting logs from servers & daemons which don't natively support syslog
 * When reconfiguring the system logger is less convenient than a
   purpose-built daemon (e.g., automated app deployments)
 * Aggregating files not generated by daemons (e.g., package manager logs)

This code is tested with the hosted log management service [Papertrail]
and should work for transmitting to any syslog server.

## Download

Visit [Releases][].

## Migrating from remote_syslog 1

remote_syslog2 is a rewrite of the ruby [remote_syslog] package. Not all
features of the ruby version are supported, and there are some backwards
incompatible changes.

Also, as of this writing, remote_syslog2 is still beta and should not be
considered feature complete.

### Changes from remote_syslog 1

* The syntax of some command-line arguments have changed slightly,
though most are identical.
* Default hostname has been removed. Either the `host` config file
option or the `-d` invocation flag are required.

<commit_msg>Update README to say to use rs2<commit_after># remote_syslog2

Remote_syslog tails one or more log files and sends syslog messages to a
remote central syslog server. It generates packets itself, ignoring the system
syslog daemon, so its configuration doesn't affect system-wide logging.

Uses:

 * Collecting logs from servers & daemons which don't natively support syslog
 * When reconfiguring the system logger is less convenient than a
   purpose-built daemon (e.g., automated app deployments)
 * Aggregating files not generated by daemons (e.g., package manager logs)

This code is tested with the hosted log management service [Papertrail]
and should work for transmitting to any syslog server.

## Download

Visit [Releases][].

## Migrating from remote_syslog 1

remote_syslog2 is a rewrite of the ruby [remote_syslog] package. Not all
features of the ruby version are supported, and there are some backwards
incompatible changes.

### Which should I use?

Use remote_syslog2 (this README and application) unless you have a
specific reason to use remote_syslog1.

### Changes from remote_syslog 1

* The syntax of some command-line arguments have changed slightly,
though most are identical.
* Default hostname has been removed. Either the `host` config file
option or the `-d` invocation flag are required.


{'fraction_non_alphanumeric': 0.04951644100580271, 'fraction_numerical': 0.0046421663442940036, 'mean_word_length': 4.721238938053097, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1906283', 'n_tokens_mistral': 698, 'n_tokens_neox': 667, 'n_words': 359}