log_toolbox 1.3.5 → 1.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/log_toolbox/lograge_config.rb +4 -3
- data/lib/log_toolbox/version.rb +1 -1
- data/log_toolbox.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28a9c385547959933a5c5fdb1d3ee5599c915f74a1a3ad6355dd8409a3bc20c7
|
4
|
+
data.tar.gz: e5ba4e9d8a3a01b7a036589d29e0cc6df79eb6f527f8816b80491d019f96d41c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9816f33487576697c9c6dd8581ad0ed8ecc098ad5bd5250bf750319bfce571a17c700a0c81514af1d64742ab8facd28fd6d9991f941951b962447c5ddb3afa8
|
7
|
+
data.tar.gz: 899d9b23415f164ad5daa3315fb39a75287f5336a6f684493753d0c8400182b77afa0caaf9525c9057d7d116915b4efcd507bc3377c6b96ca02de54de9fa7f98
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
6
6
|
|
7
7
|
## [Released] - 2019-05-21
|
8
8
|
|
9
|
+
## [1.3.6] - 2020-12-04
|
10
|
+
### FIXED
|
11
|
+
- Added buffer_max_items and buffer_max_interval into LogStash config
|
12
|
+
|
9
13
|
## [1.3.5] - 2020-12-04
|
10
14
|
### FIXED
|
11
15
|
- Convert buffer_max_items and buffer_max_interval values to integer
|
@@ -32,9 +32,10 @@ module LogToolbox
|
|
32
32
|
def configure_log_output_logstash
|
33
33
|
config.logger = LogStashLogger.new(type: LOGSTASH_PROTOCOL,
|
34
34
|
host: LOGSTASH_URL,
|
35
|
-
port: LOGSTASH_PORT
|
36
|
-
|
37
|
-
|
35
|
+
port: LOGSTASH_PORT)
|
36
|
+
|
37
|
+
config.logstash.buffer_max_items = LOGSTASH_BUFFER_MAX_ITEMS || 50
|
38
|
+
config.logstash.buffer_max_interval = LOGSTASH_BUFFER_MAX_INTERVAL || 5
|
38
39
|
end
|
39
40
|
|
40
41
|
def configure_log_output_stdout
|
data/lib/log_toolbox/version.rb
CHANGED
data/log_toolbox.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.authors = ['Caio Almeida']
|
12
12
|
spec.email = ['cbalmeida@guide.com.br']
|
13
13
|
|
14
|
-
spec.required_ruby_version = '>= 2.
|
14
|
+
spec.required_ruby_version = '>= 2.5.0'
|
15
15
|
spec.summary = 'Guide default gem for ruby application logging'
|
16
16
|
spec.homepage = 'http://bitbucket.org/guideinvestimentos/log_toolbox'
|
17
17
|
spec.license = 'Guide'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: log_toolbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Caio Almeida
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lograge
|
@@ -234,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
234
234
|
requirements:
|
235
235
|
- - ">="
|
236
236
|
- !ruby/object:Gem::Version
|
237
|
-
version: 2.
|
237
|
+
version: 2.5.0
|
238
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
239
|
requirements:
|
240
240
|
- - ">="
|