metova-logger 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/metova/logger/railtie.rb +5 -3
- data/lib/metova/logger/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46ffaf9ecf28c8c12cbfdc08537a41e1be9677f6
|
4
|
+
data.tar.gz: 16ce356bebf6b089f485206636d4b19e5ec2c4c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: faf399f5bb7382f5e3063a5e36078284ba509b855be35c19c1cd065e3cefe14cec18eabfcac7da6e4f9da519baebceb2335f7fd5b0e4ff81d129a15af2b5c584
|
7
|
+
data.tar.gz: 991cd1c28b5a02c93eca3b45d0f3bec6d87e5a4907f49a4ce865075a1998c619cf08d6d508812ab5c5817fd5821584ed0dda84b1573c0599f2b1f012f137c17c
|
@@ -5,9 +5,11 @@ module Metova
|
|
5
5
|
module Logger
|
6
6
|
class Railtie < ::Rails::Railtie
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
initializer 'metova.logger' do |app|
|
9
|
+
app.config.log_tags = [
|
10
|
+
lambda { |req| req.uuid[0..15] }
|
11
|
+
]
|
12
|
+
end
|
11
13
|
|
12
14
|
config.lograge.enabled = true
|
13
15
|
config.lograge.custom_options = lambda do |event|
|