kiev 2.8.0 → 3.0.0

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
- SHA1:
3
- metadata.gz: c95641b776dbecacfb3c20627bdca29ed253a5a5
4
- data.tar.gz: 04e91ef07a297c90b94011b115e429a188b2df5e
2
+ SHA256:
3
+ metadata.gz: a4af5ecbba63c1047f216399bf8eed12d144f45a624e44dd9f165d17195e744c
4
+ data.tar.gz: '09a4f7f96577a537d7f8160b7697b2050698c7f7da725f9f82a395a978353657'
5
5
  SHA512:
6
- metadata.gz: 84dd23df61159eac642eb93dfa14d97b4cfb354159dc3afa51626640ecd66106282d0414b508764ff40b2be04ef4d5e71852bd974ab7973d380b78f6bac4ff0a
7
- data.tar.gz: 016ed238aa2aabf377acd7796577d95c13b10ac0d065a5ef02560fef5520ac30b5e24ebfbed3613479ade39cf88eaded5526115683e08de4ac8b69830ae37c8d
6
+ metadata.gz: 2a3609ce3f0d8ff4c19c264c33310cb794fbac34947c1f56d6a796daea343e90868acc980652b66fb18cff747ae3dbfe53eeefb362df5ab7454fc26381a93997
7
+ data.tar.gz: 5901954627dbeec180b4946118765736004e7512ad5e8d232f72cd3903178fe735e0e931c38bfcae21c555612d4dd4ce1e388a7bbb3aa84d7d52aaf518b974b4
data/README.md CHANGED
@@ -168,7 +168,7 @@ For web requests the Kiev middleware will log the following information by defau
168
168
  "event":"request_finished",
169
169
  "level":"INFO",
170
170
  "timestamp":"2017-01-27T16:11:44.123Z",
171
- "host":"localhost",
171
+ "request_host":"localhost",
172
172
  "verb":"GET",
173
173
  "path":"/",
174
174
  "params":"{\"hello\":\"world\",\"password\":\"[FILTERED]\"}",
@@ -386,7 +386,7 @@ If you want to log 499 and 50x errors in nginx, which will not be captured by Ru
386
386
  log_format kiev '{"application":"app_name", "event":"request_finished",'
387
387
  '"timestamp":"$time_iso8601", "request_id":"$http_x_request_id",'
388
388
  '"user_agent":"$http_user_agent", "status":$status,'
389
- '"request_duration_seconds":$request_time, "host":"$host",'
389
+ '"request_duration_seconds":$request_time, "request_host":"$host",'
390
390
  '"verb":"$request_method", "path":"$request_uri", "tree_path": "$http_x_tree_path"}';
391
391
 
392
392
  log_format simple_log '$remote_addr - $remote_user [$time_local] '
@@ -85,7 +85,7 @@ module Kiev
85
85
  params = ParamFilter.filter(params, config.filtered_params, config.ignored_params)
86
86
 
87
87
  data = {
88
- host: request.host, # env["HTTP_HOST"] || env["HTTPS_HOST"],
88
+ request_host: request.host, # env["HTTP_HOST"] || env["HTTPS_HOST"],
89
89
  params: params.empty? ? nil : params, # env[Rack::QUERY_STRING],
90
90
  ip: request.ip, # split_http_x_forwarded_headers(env) || env["REMOTE_ADDR"]
91
91
  user_agent: env[HTTP_USER_AGENT],
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kiev
4
- VERSION = "2.8.0"
4
+ VERSION = "3.0.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kiev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blacklane
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-26 00:00:00.000000000 Z
11
+ date: 2018-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -214,9 +214,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
214
  version: '0'
215
215
  requirements: []
216
216
  rubyforge_project:
217
- rubygems_version: 2.6.10
217
+ rubygems_version: 2.7.7
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: Distributed logging to JSON integrated with various Ruby frameworks and tools
221
221
  test_files: []
222
- has_rdoc: