Skip to content
Extraits de code Groupes Projets
Valider 4f2ee111 rédigé par Benjamin Neff's avatar Benjamin Neff Validation de Dennis Schubert
Parcourir les fichiers

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

closes #5989
parent b491ecac
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
* Gracefully handle mailer failures if a like is already deleted again [#5983](https://github.com/diaspora/diaspora/pull/5983) * 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) * 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 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 ## Bug fixes
* Disable auto follow back on aspect deletion [#5846](https://github.com/diaspora/diaspora/pull/5846) * Disable auto follow back on aspect deletion [#5846](https://github.com/diaspora/diaspora/pull/5846)
......
...@@ -8,7 +8,8 @@ end ...@@ -8,7 +8,8 @@ end
Eye.application("diaspora") do Eye.application("diaspora") do
working_dir Rails.root.to_s working_dir Rails.root.to_s
env "DB" => ENV["DB"], "RAILS_ENV" => rails_env 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 process :web do
start_command "bin/bundle exec unicorn -c config/unicorn.rb" start_command "bin/bundle exec unicorn -c config/unicorn.rb"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter