From 4f2ee1115804dc1dc35dffc1dad596a5f0b0a90a Mon Sep 17 00:00:00 2001 From: Benjamin Neff <benjamin@coding4coffee.ch> Date: Mon, 25 May 2015 15:46:51 +0200 Subject: [PATCH] split eye output in 2 logfiles and forward stdout to terminal in dev mode closes #5989 --- Changelog.md | 1 + config/eye.rb | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index 5ca5ab15ba..4b845faf45 100644 --- a/Changelog.md +++ b/Changelog.md @@ -16,6 +16,7 @@ * Gracefully handle mailer failures if a like is already deleted again [#5983](https://github.com/diaspora/diaspora/pull/5983) * Ensure posts have an author [#5986](https://github.com/diaspora/diaspora/pull/5986) * Improve the logging messages of Sidekiq messages [#5988](https://github.com/diaspora/diaspora/pull/5988) +* Improve the logging of Eyes output [#5989](https://github.com/diaspora/diaspora/pull/5989) ## Bug fixes * Disable auto follow back on aspect deletion [#5846](https://github.com/diaspora/diaspora/pull/5846) diff --git a/config/eye.rb b/config/eye.rb index d504603034..52d25aea40 100644 --- a/config/eye.rb +++ b/config/eye.rb @@ -8,7 +8,8 @@ end Eye.application("diaspora") do working_dir Rails.root.to_s env "DB" => ENV["DB"], "RAILS_ENV" => rails_env - stdall "log/eye_processes.log" + stdout "log/eye_processes_stdout.log" unless rails_env == "development" + stderr "log/eye_processes_stderr.log" process :web do start_command "bin/bundle exec unicorn -c config/unicorn.rb" -- GitLab