         let eventType = eventType.lowercaseString
         if CloudApp.SESSION_ID == nil {
             callback(error: "Invalid session ID")
-        }else{
+        }else if CloudApp.isLogging() {
             print("Using session ID: \(CloudApp.SESSION_ID)")
         }
         if eventType == "created" || eventType == "deleted" || eventType == "updated" {

            })
            
            CloudSocket.getSocket().on("connect", callback: { data, ack in
                print("sessionID: \(CloudSocket.getSocket().sid)")
                payload["sessionId"] = CloudSocket.getSocket().sid
                CloudSocket.getSocket().emit("join-object-channel", payload)
                callback(error: nil)
            })
            
            CloudSocket.getSocket().connect(timeoutAfter: 15, withTimeoutHandler: {
                print("Timeout")
                callback(error: "Timed out")
            })
            

            callback(error: nil)
        })
        CloudSocket.getSocket().connect(timeoutAfter: 15, withTimeoutHandler: {
            if CloudApp.isLogging() {
                print("Timeout")
            }
            callback(error: "Timed out")
        })
        
