mee-rfc5424 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +20 -5
- data/lib/mee/rfc5424/version.rb +1 -1
- data/mee-rfc5424.gemspec +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40a4ca6ae1923a3fecf2879dc2bb22f27f28159d
|
4
|
+
data.tar.gz: a1ef9ed122936a0d5e94002018a286e6a1dc92a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c9cecdd347e198f7dec7e819da57872e1b063ff30f83cef47ec097374d0ab913cd672260f850ced4e2b67462a9d6ebfb83571610e0e3ebfe6057d393ac4dd94
|
7
|
+
data.tar.gz: 4ab8eeab50477a97c577e24d004cdfbfb2a4a6bad90d3c763d57ebda31bd9f968e033ac62dc62965f4a1813d94b06e80bf35cddf43776739e5735b6995544117
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# MEE::Rfc5424
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
Ruby loggger capable of logging against Syslog (RFC5424) over TCP and Syslog over TLS. Logs may be in either non-transparent newline framing or octet counting framing.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,7 +20,21 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
By default the loggers will use transparent octet counting.
|
24
|
+
|
25
|
+
### TCP Syslog connection
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
logger = MEE::RFC5424.tcp( 'syslog.host', 514 )
|
29
|
+
logger.info { "TCP logging message" }
|
30
|
+
```
|
31
|
+
|
32
|
+
### TLS Syslog connection
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
logger = MEE::RFC5424.tls( 'syslog.host', 10242 )
|
36
|
+
logger.info { "TLS message logging" }
|
37
|
+
```
|
26
38
|
|
27
39
|
## Development
|
28
40
|
|
@@ -34,3 +46,6 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
34
46
|
|
35
47
|
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mee-rfc5424.
|
36
48
|
|
49
|
+
## Licensing
|
50
|
+
|
51
|
+
Licensed under the temrs of the MIT license
|
data/lib/mee/rfc5424/version.rb
CHANGED
data/mee-rfc5424.gemspec
CHANGED
@@ -8,6 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = MEE::RFC5424::VERSION
|
9
9
|
spec.authors = ["Mark Eschbach"]
|
10
10
|
spec.email = ["meschbach@gmail.com"]
|
11
|
+
spec.license = "MIT"
|
11
12
|
|
12
13
|
spec.summary = %q{Utilities for dealing with RFC5424}
|
13
14
|
spec.description = %q{Initial scope is to produce loggers for TLS compliant to RFC5424.}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mee-rfc5424
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Eschbach
|
@@ -85,7 +85,8 @@ files:
|
|
85
85
|
- lib/mee/rfc5424/version.rb
|
86
86
|
- mee-rfc5424.gemspec
|
87
87
|
homepage: https://github.com/meschbach/ruby-rfc5424
|
88
|
-
licenses:
|
88
|
+
licenses:
|
89
|
+
- MIT
|
89
90
|
metadata: {}
|
90
91
|
post_install_message:
|
91
92
|
rdoc_options: []
|