manageiq-loggers 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/manageiq/loggers/container.rb +5 -1
- data/lib/manageiq/loggers/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dcf2285622bf4c8e99e5f51bfa285cd730ad63ecf2c99ba3d415935b9b4232b
|
4
|
+
data.tar.gz: 40f8ea813b609c2c4c51da5119d8d5d941ddc06983d677c28a97d965ec7174b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8548fb479e0c8a465d6afc6b97dae2fbd5b5079a7fbfa9112e59ff5b003de6f34e35f748babf67c7a8828cb45d2143237a5f0b6439d37c0ae2cc1959398f3128
|
7
|
+
data.tar.gz: e217e0699b90729596661de7a1f9c751560305cb7509f80f8c23ebc487a74ca2c1e40070f272e016872593e5a441888515a4adf6fea00fcee7a99ae14b5fb988
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [0.5.0] - 2020-03-18
|
9
|
+
### Changed
|
10
|
+
- Deprecate Thread.current[:current_request]&.request_id in favor of Thread.current[:request_id] [(#17)](https://github.com/ManageIQ/manageiq-loggers/pull/17)
|
11
|
+
|
8
12
|
## [0.4.2] - 2020-01-14
|
9
13
|
### Fixed
|
10
14
|
- Revert "Change CloudWatch log_group to be the namespace if it exists" [(#16)](https://github.com/ManageIQ/manageiq-loggers/pull/16)
|
@@ -33,7 +37,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
33
37
|
|
34
38
|
## [0.1.0] - 2019-01-08
|
35
39
|
|
36
|
-
[Unreleased]: https://github.com/ManageIQ/manageiq-loggers/compare/v0.
|
40
|
+
[Unreleased]: https://github.com/ManageIQ/manageiq-loggers/compare/v0.5.0...master
|
41
|
+
[0.5.0]: https://github.com/ManageIQ/manageiq-loggers/compare/v0.4.2...v0.5.0
|
37
42
|
[0.4.2]: https://github.com/ManageIQ/manageiq-loggers/compare/v0.4.1...v0.4.2
|
38
43
|
[0.4.1]: https://github.com/ManageIQ/manageiq-loggers/compare/v0.4.0...v0.4.1
|
39
44
|
[0.4.0]: https://github.com/ManageIQ/manageiq-loggers/compare/v0.3.0...v0.4.0
|
@@ -64,7 +64,11 @@ module ManageIQ
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def request_id
|
67
|
-
Thread.current[:current_request]&.request_id
|
67
|
+
if Thread.current[:current_request]&.request_id
|
68
|
+
ActiveSupport::Deprecation.warn("Usage of `Thread.current[:current_request]&.request_id` will be deprecated in version 0.5.0. Please switch to `Thread.current[:request_id]` to log request_id automatically.")
|
69
|
+
end
|
70
|
+
|
71
|
+
Thread.current[:current_request]&.request_id || Thread.current[:request_id]
|
68
72
|
end
|
69
73
|
end
|
70
74
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: manageiq-loggers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ManageIQ Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|