         let tableName = tableName.lowercaseString
         if CloudApp.SESSION_ID == nil {
             callback(error: "Invalid session ID")
-        }else{
+        }else if CloudApp.isLogging() {
             print("Using session ID: \(CloudApp.SESSION_ID)")
         }
         var payloads = [NSMutableDictionary]()

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

        
        let eventType = eventType.lowercaseString
        if query.getTableName() != tableName {
            if CloudApp.isLogging() {
                print(query.getTableName())
                print(tableName)
            }
            callback(error: "CloudQuery TableName and CloudNotification TableName should be same")
            return
        }
