summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gemfile1
-rw-r--r--Gemfile.lock5
-rw-r--r--config/application.rb1
3 files changed, 7 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 812b7f0..f45e50c 100644
--- a/Gemfile
+++ b/Gemfile
@@ -24,6 +24,7 @@ gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'typhoeus'
gem 'listen'
+gem 'lograge'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
diff --git a/Gemfile.lock b/Gemfile.lock
index 709cd85..cc375da 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -94,6 +94,10 @@ GEM
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
+ lograge (0.3.1)
+ actionpack (>= 3)
+ activesupport (>= 3)
+ railties (>= 3)
loofah (2.0.1)
nokogiri (>= 1.5.9)
mail (2.6.3)
@@ -213,6 +217,7 @@ DEPENDENCIES
jbuilder (~> 2.0)
jquery-rails
listen
+ lograge
packetfu
pcaprub
pg
diff --git a/config/application.rb b/config/application.rb
index a4c3856..8ffec33 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -30,5 +30,6 @@ module Malwer
# Do not swallow errors in after_commit/after_rollback callbacks.
config.active_record.raise_in_transactional_callbacks = true
+ config.lograge.enabled = true
end
end