rails_stdout_logging 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_stdout_logging/rails.rb +1 -1
- data/lib/rails_stdout_logging/version.rb +1 -1
- data/rails_stdout_logging.gemspec +0 -1
- metadata +4 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f390dcdcca9c6cfddef8fba9b70cbe61ee6f965
|
4
|
+
data.tar.gz: e14b834926bc586a886934866ca8d4cd7cc215ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73cb1ef25e6ec47f68daba0b309f9f851de81910d8474a83d303d7f678d17f8c4b5b451f3ff740b0d45d94448fc2dbae6f54d9a4e06ce754fd2baa3be46432b4
|
7
|
+
data.tar.gz: 3146f0a14e5cd17462f1c34dcee54be448198a2fffa11fb03bf7839224eb5543e69391036d66fb0150c2350453d1517fa4260185128f532ef3ad513baaf749a1
|
@@ -8,7 +8,7 @@ module RailsStdoutLogging
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def self.log_level
|
11
|
-
([ENV['LOG_LEVEL'].to_s.upcase, "INFO"] & %w[DEBUG INFO WARN ERROR FATAL UNKNOWN]).compact.first
|
11
|
+
([(ENV['LOG_LEVEL'] || ::Rails.application.config.log_level).to_s.upcase, "INFO"] & %w[DEBUG INFO WARN ERROR FATAL UNKNOWN]).compact.first
|
12
12
|
end
|
13
13
|
|
14
14
|
def self.set_logger
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_stdout_logging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Dollar
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-08
|
13
|
+
date: 2013-10-08 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: Sets Rails to log to stdout
|
16
16
|
email:
|
@@ -78,8 +78,7 @@ files:
|
|
78
78
|
- test/support/integration_case.rb
|
79
79
|
- test/test_helper.rb
|
80
80
|
homepage: https://github.com/heroku/rails_stdout_logging
|
81
|
-
licenses:
|
82
|
-
- MIT
|
81
|
+
licenses: []
|
83
82
|
metadata: {}
|
84
83
|
post_install_message:
|
85
84
|
rdoc_options: []
|
@@ -101,41 +100,4 @@ rubygems_version: 2.0.3
|
|
101
100
|
signing_key:
|
102
101
|
specification_version: 4
|
103
102
|
summary: Overrides Rails' built in logger to send all logs to stdout
|
104
|
-
test_files:
|
105
|
-
- test/dummy/Rakefile
|
106
|
-
- test/dummy/app/controllers/application_controller.rb
|
107
|
-
- test/dummy/app/controllers/bar_controller.rb
|
108
|
-
- test/dummy/app/helpers/application_helper.rb
|
109
|
-
- test/dummy/app/views/bar/index.html.erb
|
110
|
-
- test/dummy/config.ru
|
111
|
-
- test/dummy/config/application.rb
|
112
|
-
- test/dummy/config/boot.rb
|
113
|
-
- test/dummy/config/database.yml
|
114
|
-
- test/dummy/config/environment.rb
|
115
|
-
- test/dummy/config/environments/development.rb
|
116
|
-
- test/dummy/config/environments/production.rb
|
117
|
-
- test/dummy/config/environments/test.rb
|
118
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
119
|
-
- test/dummy/config/initializers/inflections.rb
|
120
|
-
- test/dummy/config/initializers/mime_types.rb
|
121
|
-
- test/dummy/config/initializers/secret_token.rb
|
122
|
-
- test/dummy/config/initializers/session_store.rb
|
123
|
-
- test/dummy/config/locales/en.yml
|
124
|
-
- test/dummy/config/locales/es.yml
|
125
|
-
- test/dummy/config/routes.rb
|
126
|
-
- test/dummy/public/404.html
|
127
|
-
- test/dummy/public/422.html
|
128
|
-
- test/dummy/public/500.html
|
129
|
-
- test/dummy/public/favicon.ico
|
130
|
-
- test/dummy/public/javascripts/application.js
|
131
|
-
- test/dummy/public/javascripts/controls.js
|
132
|
-
- test/dummy/public/javascripts/dragdrop.js
|
133
|
-
- test/dummy/public/javascripts/effects.js
|
134
|
-
- test/dummy/public/javascripts/prototype.js
|
135
|
-
- test/dummy/public/javascripts/rails.js
|
136
|
-
- test/dummy/public/stylesheets/.gitkeep
|
137
|
-
- test/dummy/script/rails
|
138
|
-
- test/integration/controller_logging_test.rb
|
139
|
-
- test/rails_stdout_logging_test.rb
|
140
|
-
- test/support/integration_case.rb
|
141
|
-
- test/test_helper.rb
|
103
|
+
test_files: []
|