summaryrefslogtreecommitdiff
path: root/src/hub
diff options
context:
space:
mode:
authorMarkus Grüneis <gimpf@gimpf.org>2014-10-19 18:04:36 +0200
committerMarkus Grüneis <gimpf@gimpf.org>2014-10-19 18:04:36 +0200
commitc3f8b399e5bb723240cd3da80a3f541820d6e84a (patch)
tree91237bdab0a862b0cb244fcf9f588a36a849028b /src/hub
parenthub: update test-* scripts' pipe-path (diff)
hub: remove overzealous tracing in s5srvPipe
Diffstat (limited to 'src/hub')
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5srvPipe.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5srvPipe.go b/src/hub/src/spreadspace.org/sfive/s5srvPipe.go
index e024e2d..0bce7a6 100644
--- a/src/hub/src/spreadspace.org/sfive/s5srvPipe.go
+++ b/src/hub/src/spreadspace.org/sfive/s5srvPipe.go
@@ -25,7 +25,7 @@ func (self StatsSinkServer) handleConnection(conn net.Conn) {
return
}
- s5l.Printf("msg: %v", string(buffer))
+ // s5l.Printf("msg: %v", string(buffer))
value, err := marshaller.Decode(buffer)
if err != nil {
@@ -40,7 +40,7 @@ func (self StatsSinkServer) handleConnection(conn net.Conn) {
func (self StatsSinkServer) ServePipe(pipePath string) {
ln, err := net.Listen("unix", pipePath)
if err != nil {
- s5l.Printf("failed to connect to unix pipe: %v", err)
+ s5l.Printf("pipe: failed to connect: %v", err)
return
}
defer ln.Close()
@@ -48,6 +48,7 @@ func (self StatsSinkServer) ServePipe(pipePath string) {
for {
conn, err := ln.Accept()
if err != nil {
+ s5l.Printf("pipe: failed accept: %v", err)
// ignore
continue
}