<commit_before># syslog-stdout

Minimalistic syslog which just prints all messages received from `/dev/log` to standard out.

This is useful in Docker containers where you don't want to install a syslog daemon.

## Installation

Add `dist/syslog-stdout` into an executable folder (like `/usr/local/bin`) inside your container.

This operation can be done in `Dockerfile` via:

```
# Get the latest version
ADD https://github.com/mauchede/syslog-stdout/raw/master/dist/syslog-stdout /usr/local/bin/syslog-stdout
RUN chmod +x /usr/local/bin/syslog-stdout

# Or get a specific version

# Get the version 1.0.0
ADD https://github.com/mauchede/syslog-stdout/raw/v1.0.0/dist/syslog-stdout /usr/local/bin/syslog-stdout
RUN chmod +x /usr/local/bin/syslog-stdout
```

## Usage

Just run `syslog-stdout` in background.

## Contributing

1. Fork it.
2. Create your branch: `git checkout -b my-new-feature`.
3. Commit your changes: `git commit -am 'Add some feature'`.
4. Push to the branch: `git push origin my-new-feature`.
5. Submit a pull request.

## Credits

The original script (in Python) has been created by [Gryphius](https://github.com/gryphius).

## Links

* [creating statically linked executables in Go](http://blog.xebia.com/2014/07/04/create-the-smallest-possible-docker-container/)
* [gryphius/syslog-stdout](https://github.com/gryphius/syslog-stdout)<commit_msg>Improve README.<commit_after>### Installation

Add `dist/syslog-stdout` into an executable folder (like `/usr/local/bin`) inside your container.

This operation can be done in `Dockerfile` via:

```
# Get the latest version
ADD https://github.com/mauchede/syslog-stdout/raw/master/dist/syslog-stdout /usr/local/bin/syslog-stdout
RUN chmod +x /usr/local/bin/syslog-stdout

# Or get a specific version

# Get the version 1.0.0
ADD https://github.com/mauchede/syslog-stdout/raw/v1.0.0/dist/syslog-stdout /usr/local/bin/syslog-stdout
RUN chmod +x /usr/local/bin/syslog-stdout
```

### Usage

Run `syslog-stdout` in background.

### Contributing

1. Fork it.
2. Create your branch: `git checkout -b my-new-feature`.
3. Commit your changes: `git commit -am 'Add some feature'`.
4. Push to the branch: `git push origin my-new-feature`.
5. Submit a pull request.

### Credits

The original script (in Python) has been created by [Gryphius](https://github.com/gryphius).

### Links

* [creating statically linked executables in Go](http://blog.xebia.com/2014/07/04/create-the-smallest-possible-docker-container/)
* [gryphius/syslog-stdout](https://github.com/gryphius/syslog-stdout)
{'fraction_non_alphanumeric': 0.1349862258953168, 'fraction_numerical': 0.0149547422274695, 'mean_word_length': 4.104417670682731, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7159229', 'n_tokens_mistral': 900, 'n_tokens_neox': 867, 'n_words': 246}