From 02c75bc8af7915c4db74eb2cbfb009f629e49598 Mon Sep 17 00:00:00 2001 From: Wedge Date: Tue, 2 Feb 2016 19:45:29 +0300 Subject: [PATCH] Changed log level --- 1.sh | 1 + config/environments/production.rb | 2 +- config/initializers/github.rb | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 1.sh diff --git a/1.sh b/1.sh new file mode 100644 index 000000000..5aec59150 --- /dev/null +++ b/1.sh @@ -0,0 +1 @@ +QUEUE=low,publish_observer,rpm_worker_observer,iso_worker_observer,fork_import,hook,clone_build,middle,notification,publish_observer,rpm_worker_observer,iso_worker_observer,fork_import,hook,clone_build,middle,notification rake resque:work diff --git a/config/environments/production.rb b/config/environments/production.rb index 71cac9403..01f143948 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -42,7 +42,7 @@ Rails.application.configure do # config.force_ssl = true # Set to :debug to see everything in the log. - config.log_level = :info + config.log_level = :warn # Prepend all log lines with the following tags. # config.log_tags = [ :subdomain, :uuid ] diff --git a/config/initializers/github.rb b/config/initializers/github.rb index d88446488..86566c727 100644 --- a/config/initializers/github.rb +++ b/config/initializers/github.rb @@ -1,7 +1,6 @@ #configuration of Github api gem Github.configure do |c| - puts ENV["GITHUB_LOGIN"] c.basic_auth = ENV["GITHUB_LOGIN"] + ":" + ENV["GITHUB_PASSWORD"] c.auto_pagination = true c.stack do |builder|