diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-10-21 14:06:58 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-10-21 14:07:20 +0300 |
commit | 66e927f6571d38f15a52bbf17dec589f211b7ff4 (patch) | |
tree | 330ba9fd78bd7b38a7245011dc4015838f1ecf45 | |
parent | d64a7f24293b4e5c8d9c7710a85ec12cf2ecc0a7 (diff) | |
download | gitlab-ce-gitaly-always-bundle-config.tar.gz |
dump gitaly logs to stdoutgitaly-always-bundle-config
-rw-r--r-- | config/initializers/grpc.rb | 2 | ||||
-rwxr-xr-x | scripts/gitaly-test-spawn | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/initializers/grpc.rb b/config/initializers/grpc.rb index b96962fe7db..dc4bd74837b 100644 --- a/config/initializers/grpc.rb +++ b/config/initializers/grpc.rb @@ -1,6 +1,6 @@ require 'logger' -GRPC_LOGGER = Logger.new(Rails.root.join('log/grpc.log')) +GRPC_LOGGER = Logger.new(STDOUT)#Rails.root.join('log/grpc.log')) GRPC_LOGGER.level = ENV['GRPC_LOG_LEVEL'].presence || 'WARN' GRPC_LOGGER.progname = 'GRPC' diff --git a/scripts/gitaly-test-spawn b/scripts/gitaly-test-spawn index dd603eec7f6..9b6afeb1a26 100755 --- a/scripts/gitaly-test-spawn +++ b/scripts/gitaly-test-spawn @@ -4,4 +4,4 @@ gitaly_dir = 'tmp/tests/gitaly' args = %W[#{gitaly_dir}/gitaly #{gitaly_dir}/config.toml] # Print the PID of the spawned process -puts spawn(*args, [:out, :err] => 'log/gitaly-test.log') +puts spawn(*args)#, [:out, :err] => 'log/gitaly-test.log') |