diff --git a/config/logging.rb b/config/logging.rb
index b29130f67044c5fcca95a5b0eafcbb8cd8f04a32..57cf39b0aaa724d61ab6b02557b413d2a0a3f748 100644
--- a/config/logging.rb
+++ b/config/logging.rb
@@ -86,7 +86,8 @@ Logging::Rails.configure do |config|
 
   # 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["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
   # after workers have forked.