split eye output in 2 logfiles and forward stdout to terminal in dev mode

closes #5989
This commit is contained in:
Benjamin Neff 2015-05-25 15:46:51 +02:00 committed by Dennis Schubert
parent b491ecac31
commit 4f2ee11158
2 changed files with 3 additions and 1 deletions

View file

@ -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)

View file

@ -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"