sysloggly 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cdbef2d70a52185bd9eecc6bbcc28f2ce3b94863a430ab4598151f8cf1db4e2a
4
- data.tar.gz: fe673d581bd2ecb232c36555c70e39360bc4e4c7d1f8b6215920f50557fb9d5e
3
+ metadata.gz: 7e1ffa58b057b9f4f6375d1750294d6f5069416f89d279aba87bc997c348468c
4
+ data.tar.gz: d3524e308ff765111da42e9cddf2fa92228289ddfc2ebe7a1c35d4be74f09497
5
5
  SHA512:
6
- metadata.gz: 10d5c7d1acef408121a62546122ba551dd5ae379848ef3d60689c34d625371ca9ba418ccb6acecf8be4aab6bb5fef90a1d79270eab2189c6e5d860088577dbc1
7
- data.tar.gz: e98f897a90fbaae14d7825ac325b746da61d70cf40ff33c431c5f6b91b8bd2c0bfc73dc71aa9d2a2a85c46eddcd9c99f3b2e4e337f05fc74c20b9de0245e4255
6
+ metadata.gz: d4a43b9087d964dcab4e5b2fd048a6e351fd25b80308405d4c925a9a475f946fb9c36f10393f539d22e24932da5d8c74bfc6a3ba521ee182266291007a814044
7
+ data.tar.gz: 16a7d498be5e70fb5a919afe5370e8d4a2a4a24eae7465253043dc1257088a4e20a47c4bf75d5378d14e6e5831304275de48e1005ecf5abb7537872cb563eabd
@@ -1,7 +1,10 @@
1
1
  ## Changelog
2
2
 
3
+ #### 0.4.1
4
+ - [new] log `app` (progname) as JSON field
5
+
3
6
  #### 0.4.0
4
- - [break] log +hostname as JSON field
7
+ - [break] log `hostname` as JSON field
5
8
 
6
9
  #### 0.3.2
7
10
  - [new] option `ignore_user_agents` with default "Pingdom.com_bot"
@@ -14,8 +14,9 @@ module Sysloggly
14
14
 
15
15
  @env = opts[:env] || Sysloggly.env
16
16
  @hostname = opts[:hostname] || Socket.gethostname.split(".").first
17
- @progname = opts[:progname]
17
+ @progname = opts[:progname].to_s.downcase
18
18
  @custom_fields = opts.except(:progname).merge({
19
+ app: @progname,
19
20
  env: @env,
20
21
  hostname: @hostname
21
22
  })
@@ -1,3 +1,3 @@
1
1
  module Sysloggly
2
- VERSION = "0.4.0".freeze
2
+ VERSION = "0.4.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sysloggly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joergen Dahlke