         container.inspect((err, info) ->
             throw err if err
 
+            #Remove leading slash from name
+            containerName = info.Name.substr(1)
+
             if container.id == docker_container_id
-                console.log('.. not attaching ' + container.id.substr(0, 12).yellow + ' since it is us')
+                console.log('.. not attaching ' + container.id.substr(0, 12).yellow + '/' + containerName.yellow + ' since it is us')
                 return
 
             use_multiplexing = not info.Config.Tty

                        if evar[0] == name
                            env[evar[0]] = evar[1]

            console.log('<- attaching container ' + container.id.substr(0, 12).yellow)

            container.attach({ logs: false, stream: true, stdin: false, stdout: true, stderr: true }, (err, stream) ->
                throw err if err

                stream.on('end', ->
                    delete fragment_ids[container.id]
                    console.log('-> detaching container ' + container.id.substr(0, 12).yellow)
                )

                fragment_ids[container.id] = 0

                            }
			    # Do something with the log ;)
#                            send_log(connection, JSON.stringify(message))
                            if (frame.content.substr(0,(frame.content).length-1)).indexOf("\n",0) > 0
                                msg2 = (frame.content).substr(2,frame.content.length).split('\n')
                                msg2.forEach (item, i) ->
#                                  console.log(JSON.stringify(item))
                                  if (not not item) #don't send empty lines
                                    send_syslog(connection, syslog_host, syslog_port, syslog_proto, formatSyslogDate(Date.now()), container, item)
                            else
                                send_syslog(connection, syslog_host, syslog_port, syslog_proto, formatSyslogDate(Date.now()), container, frame.content)
                        )
                    catch e
                        console.log 'could not parse packet: '.red + e.message
