splunk_logger 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/splunk_logger/client.rb +1 -1
- data/lib/splunk_logger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aca7eb344f572ff6b054b49b9fd6a45770b1486b
|
4
|
+
data.tar.gz: e1a2a4b164809c9b928aa7149c1b9f9a9373e071
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d02c400fd9fbf452ccc507f0d4e0038f8f3563b20986847ce31fb2ba772b47d668f7075e454e5603c7c640af410564fdda94d27448ebb5f67f3d0c4495d1aad
|
7
|
+
data.tar.gz: ab9b3b08633d23fd9d8c256a1af22e8e8fe38ec23ff8caf597a532d5c947fbc400fbff8eb6ee7df68c799cd048cf2c399a660f9723f729e6549bd7a57817700e
|
data/lib/splunk_logger/client.rb
CHANGED
@@ -13,7 +13,7 @@ module SplunkLogger
|
|
13
13
|
token = options[:token]
|
14
14
|
url = options[:url]
|
15
15
|
verify_ssl = options[:verify_ssl].nil? ? true : options[:verify_ssl]
|
16
|
-
@default_level = options[:default_level]
|
16
|
+
@default_level = options[:default_level] || 'info'
|
17
17
|
@send_interval = options[:send_interval].to_i
|
18
18
|
@max_batch_size = (options[:max_batch_size] || 100).to_i
|
19
19
|
@max_queue_size = (options[:max_queue_size] || 10000).to_i
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: splunk_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Ikeoka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|