mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 18:59:38 +02:00
Syslog updates #2292
This commit is contained in:
parent
07821cbf67
commit
a0fecf1c2e
5 changed files with 9 additions and 6 deletions
1
Gemfile
1
Gemfile
|
@ -11,6 +11,7 @@ source 'https://rubygems.org'
|
||||||
gem 'rails', '4.2.3' # when update, all initializers eis_custom files needs check/update
|
gem 'rails', '4.2.3' # when update, all initializers eis_custom files needs check/update
|
||||||
gem 'iso8601', '~> 0.8.6' # for dates and times
|
gem 'iso8601', '~> 0.8.6' # for dates and times
|
||||||
gem 'hashie-forbidden_attributes', '~> 0.1.1'
|
gem 'hashie-forbidden_attributes', '~> 0.1.1'
|
||||||
|
gem 'SyslogLogger', '~> 2.0.0'
|
||||||
|
|
||||||
# load env
|
# load env
|
||||||
gem 'figaro', '~> 1.1.1'
|
gem 'figaro', '~> 1.1.1'
|
||||||
|
|
|
@ -36,6 +36,7 @@ GIT
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
|
SyslogLogger (2.0)
|
||||||
abstract_type (0.0.7)
|
abstract_type (0.0.7)
|
||||||
actionmailer (4.2.3)
|
actionmailer (4.2.3)
|
||||||
actionpack (= 4.2.3)
|
actionpack (= 4.2.3)
|
||||||
|
@ -539,6 +540,7 @@ PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
|
SyslogLogger (~> 2.0.0)
|
||||||
activerecord-import (~> 0.7.0)
|
activerecord-import (~> 0.7.0)
|
||||||
autodoc
|
autodoc
|
||||||
better_errors (~> 2.1.1)
|
better_errors (~> 2.1.1)
|
||||||
|
@ -620,3 +622,6 @@ DEPENDENCIES
|
||||||
uuidtools (~> 2.1.4)
|
uuidtools (~> 2.1.4)
|
||||||
validates_email_format_of (~> 1.6.3)
|
validates_email_format_of (~> 1.6.3)
|
||||||
whenever (~> 0.9.4)
|
whenever (~> 0.9.4)
|
||||||
|
|
||||||
|
BUNDLED WITH
|
||||||
|
1.10.6
|
||||||
|
|
|
@ -49,7 +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.
|
||||||
config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new(ENV['app_name'])
|
config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new(ENV['app_name']))
|
||||||
|
|
||||||
# Use a different logger for distributed setups.
|
# Use a different logger for distributed setups.
|
||||||
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
||||||
|
|
|
@ -49,7 +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.
|
||||||
config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new(ENV['app_name']))
|
||||||
|
|
||||||
# Use a different cache store in production.
|
# Use a different cache store in production.
|
||||||
# config.cache_store = :mem_cache_store
|
# config.cache_store = :mem_cache_store
|
||||||
|
|
|
@ -49,10 +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.
|
||||||
config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new(ENV['app_name']))
|
||||||
|
|
||||||
# Use a different logger for distributed setups.
|
|
||||||
config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
|
||||||
|
|
||||||
# Use a different cache store in production.
|
# Use a different cache store in production.
|
||||||
# config.cache_store = :mem_cache_store
|
# config.cache_store = :mem_cache_store
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue