diff --git a/src/groupchat_control.py b/src/groupchat_control.py
index 739fe732a3e094d396bca12d05e1093ec8b3b36b..d230106878054ab67f0de936ea25ec5cc15f197f 100644
--- a/src/groupchat_control.py
+++ b/src/groupchat_control.py
@@ -47,6 +47,9 @@ from chat_control import ChatControl
 from chat_control import ChatControlBase
 from common.exceptions import GajimGeneralException
 
+import logging
+log = logging.getLogger('gajim.groupchat_control')
+
 #(status_image, type, nick, shown_nick)
 (
 C_IMG, # image to show state (online, new message etc)