mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
Remove SyslogLogger
gem
It is present in Ruby Standard Library since version 2.0 https://github.com/seattlerb/sysloglogger
This commit is contained in:
parent
dea84915b5
commit
a15449cd34
3 changed files with 1 additions and 4 deletions
2
Gemfile
2
Gemfile
|
@ -8,8 +8,6 @@ end if Bundler::VERSION < '2'
|
||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
# core
|
# core
|
||||||
|
|
||||||
gem 'SyslogLogger', '2.0', require: 'syslog/logger'
|
|
||||||
gem 'iso8601', '0.8.6' # for dates and times
|
gem 'iso8601', '0.8.6' # for dates and times
|
||||||
gem 'rails', '4.2.11' # when update, all initializers eis_custom files needs check/update
|
gem 'rails', '4.2.11' # when update, all initializers eis_custom files needs check/update
|
||||||
gem 'rest-client'
|
gem 'rest-client'
|
||||||
|
|
|
@ -59,7 +59,6 @@ GIT
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
SyslogLogger (2.0)
|
|
||||||
actionmailer (4.2.11)
|
actionmailer (4.2.11)
|
||||||
actionpack (= 4.2.11)
|
actionpack (= 4.2.11)
|
||||||
actionview (= 4.2.11)
|
actionview (= 4.2.11)
|
||||||
|
@ -445,7 +444,6 @@ PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
SyslogLogger (= 2.0)
|
|
||||||
active_model-errors_details
|
active_model-errors_details
|
||||||
activerecord-import (= 0.7.0)
|
activerecord-import (= 0.7.0)
|
||||||
airbrake
|
airbrake
|
||||||
|
|
|
@ -49,6 +49,7 @@ Rails.application.configure do
|
||||||
config.log_tags = [:subdomain, :uuid, :remote_ip]
|
config.log_tags = [:subdomain, :uuid, :remote_ip]
|
||||||
|
|
||||||
# Use a different logger for distributed setups.
|
# Use a different logger for distributed setups.
|
||||||
|
require 'syslog/logger'
|
||||||
config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new(ENV['app_name'] || 'registry'))
|
config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new(ENV['app_name'] || 'registry'))
|
||||||
|
|
||||||
# Use a different cache store in production.
|
# Use a different cache store in production.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue