diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hub/src/spreadspace.org/sfive/s5srvPipe.go | 5 |
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 } |