Skip to content
Extraits de code Groupes Projets
Valider 2f2fe71c rédigé par Benjamin Neff's avatar Benjamin Neff
Parcourir les fichiers

use DiasporaFederation::Salmon::MagicEnvelope for federation debug logging

parent 03317bc3
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -86,7 +86,8 @@ Logging::Rails.configure do |config| ...@@ -86,7 +86,8 @@ Logging::Rails.configure do |config|
# log-levels from the diaspora.yml for SQL and federation debug-logging # log-levels from the diaspora.yml for SQL and federation debug-logging
Logging.logger[ActiveRecord::Base].level = AppConfig.environment.logging.debug.sql? ? :debug : :info Logging.logger[ActiveRecord::Base].level = AppConfig.environment.logging.debug.sql? ? :debug : :info
Logging.logger["XMLLogger"].level = AppConfig.environment.logging.debug.federation? ? :debug : :info Logging.logger[DiasporaFederation::Salmon::MagicEnvelope].level =
AppConfig.environment.logging.debug.federation? ? :debug : :info
# Under Phusion Passenger smart spawning, we need to reopen all IO streams # Under Phusion Passenger smart spawning, we need to reopen all IO streams
# after workers have forked. # after workers have forked.
......
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