Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dasch/remote_syslog
https://github.com/dasch/remote_syslog
Last synced: 24 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dasch/remote_syslog
- Owner: dasch
- License: mit
- Created: 2013-11-13T13:27:09.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-13T16:30:00.000Z (almost 11 years ago)
- Last Synced: 2023-04-11T15:32:55.107Z (over 1 year ago)
- Language: Ruby
- Size: 125 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# RemoteSyslog
Allows streaming log messages to any Syslog compliant log server. The messages
will be streamed over TCP, ensure reliable delivery.It is possible to configure RemoteSyslog with multiple Syslog backends - if a
backend fails, another will be chosen instead.## Installation
Add this line to your application's Gemfile:
gem 'remote_syslog'
And then execute:
$ bundle
Or install it yourself as:
$ gem install remote_syslog
## Usage
```ruby
logger = RemoteSyslog::Logger.new("syslog1.example.com:6514", "syslog2.example.com:6514")
logger.info "HELLO WORLD!"
```## Contributing
1. Fork it
2. Create your feature 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. Create new Pull Request