             winston.error("error parsing incoming mesg (invalid JSON): #{mesg}")
             return
         if mesg.event.slice(0,4) != 'ping' and mesg.event != 'codemirror_bcast'
-            winston.debug("client --> hub: #{misc.trunc(to_safe_str(mesg), 300)}")
+            winston.debug("client --> hub (client=#{@id}): #{misc.trunc(to_safe_str(mesg), 300)}")
         handler = @["mesg_#{mesg.event}"]
         if handler?
             handler(mesg)

    # Pushing messages to this particular connected client
    #######################################################
    push_to_client: (mesg) =>
        winston.debug("hub --> client (#{@account_id}): #{misc.trunc(to_safe_str(mesg),300)}") if mesg.event != 'pong'
        @push_data_to_client(JSON_CHANNEL, to_json(mesg))

    push_data_to_client: (channel, data) ->

                            # reconnect messages, and keep going fine, eventually.
                            @diffsync_clients = {}

                            cb()

    set_content: (content) =>
        @diffsync_server.live = content
