Add gajim.config.should_log() check