Add remote write logging.

pull/2797/head
Ben Johnson 2015-06-05 22:34:30 -06:00
parent 02349e6f16
commit 607c352412
1 changed files with 5 additions and 0 deletions

View File

@ -133,7 +133,12 @@ func (s *Service) handleConn(conn net.Conn) {
switch typ {
case writeShardRequestMessage:
err := s.processWriteShardRequest(buf)
if err != nil {
s.Logger.Printf("process write shard error: %s", err)
}
s.writeShardResponse(conn, err)
default:
s.Logger.Printf("cluster service message type not found: %d", typ)
}
}
}