log_runes 1.4 → 1.5
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 +3 -0
- data/lib/log_runes/logger_factory.rb +2 -2
- data/lib/log_runes/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42852daf149196c129221a1e38c320759171f792
|
4
|
+
data.tar.gz: e5a5241c86e7214435fdb0f9b45091824bec7871
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4117c70856ef54328989fdc6fcffe2afcd1014dc7ded3aa0519d71c5b98cdd794dc679f4ab34e9e9ceefbcaca0659b8006e611adc7a2ef90aaa73f6230e48b23
|
7
|
+
data.tar.gz: 36d989ad147451d2e6e890fe2e9ecfe3ff5d9f56e17dc5921a2be6ba88867e7a7bf51c6108b59f48bdf51bce069efe72b001dde331ad167c8bf3ad87b044bf87
|
data/CHANGELOG.md
ADDED
@@ -5,14 +5,14 @@ class LoggerFactory
|
|
5
5
|
|
6
6
|
if Rails.env.development? || Rails.env.test?
|
7
7
|
# Use a stdout logger to avoid piling up a mostly useless giant log file
|
8
|
-
stdout_logger = Logger.new(STDOUT)
|
8
|
+
stdout_logger = ActiveSupport::Logger.new(STDOUT)
|
9
9
|
config.logger = ActiveSupport::TaggedLogging.new(stdout_logger)
|
10
10
|
return
|
11
11
|
end
|
12
12
|
|
13
13
|
log_base = opts[:dir] || "#{Rails.root}/log"
|
14
14
|
log_name = opts[:name] || Rails.env
|
15
|
-
l = Logger.new("#{log_base}/#{log_name}.log", 'daily')
|
15
|
+
l = ActiveSupport::Logger.new("#{log_base}/#{log_name}.log", 'daily')
|
16
16
|
|
17
17
|
config.logger = opts[:not_tagged] ? l : ActiveSupport::TaggedLogging.new(l)
|
18
18
|
|
data/lib/log_runes/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: log_runes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.5'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wlipa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Encodes session and request ids into the Rails log output using Unicode
|
14
14
|
single-width characters, thereby using only a minimum amount of column width but
|
@@ -20,6 +20,7 @@ extensions: []
|
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
22
|
- ".gitignore"
|
23
|
+
- CHANGELOG.md
|
23
24
|
- Gemfile
|
24
25
|
- LICENSE.txt
|
25
26
|
- README.md
|
@@ -49,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
50
|
version: '0'
|
50
51
|
requirements: []
|
51
52
|
rubyforge_project:
|
52
|
-
rubygems_version: 2.
|
53
|
+
rubygems_version: 2.6.6
|
53
54
|
signing_key:
|
54
55
|
specification_version: 4
|
55
56
|
summary: Encodes session and request ids into the Rails log output for easy grepping
|