lumberjack 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/VERSION +1 -1
- data/lib/lumberjack/forked_logger.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbc13dfc1c5804200cd38b71b4f93b86df15ca816c6bae6832db5c6e8fd28142
|
4
|
+
data.tar.gz: 33571306b3c30fb2ae93e4133991245bb364df1318d533e3e780b275754deb5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56bbafed82d2d57403c2c6d3d4a83c29d07bdb970d63ccde99da15571e516d90a4a25e19a24f19c10c1e288f6e109c2fa350d0bd20aee365f2c8ee5df57d6dde
|
7
|
+
data.tar.gz: 4b4aae43617977fd0aeba56f4889278fb824483c9545b3c968ec18f1d30c602810138329015b1af63e78650df77e81c4a0d7467f023ceb555c231984c4f82716
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## 2.0.1
|
8
|
+
|
9
|
+
### Fixed
|
10
|
+
|
11
|
+
- Merge attributes in forked loggers in the correct order so that attributes from the forked logger override those from the parent logger.
|
12
|
+
|
7
13
|
## 2.0.0
|
8
14
|
|
9
15
|
This is a major update with several breaking changes. See the [upgrade guide](UPGRADE_GUIDE.md) for details on breaking changes.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.1
|
@@ -85,7 +85,7 @@ module Lumberjack
|
|
85
85
|
# @api private
|
86
86
|
def add_entry(severity, message, progname = nil, attributes = nil)
|
87
87
|
parent_logger.with_level(level || Logger::DEBUG) do
|
88
|
-
attributes = merge_attributes(
|
88
|
+
attributes = merge_attributes(local_attributes, attributes)
|
89
89
|
progname ||= self.progname
|
90
90
|
|
91
91
|
if parent_logger.is_a?(ContextLogger)
|