diff --git a/client/socket.go b/client/socket.go index 9324c66..841dff0 100644 --- a/client/socket.go +++ b/client/socket.go @@ -80,13 +80,13 @@ func (s *netSocket) Context() SocketContext { func (s *netSocket) Read(b []byte) (n int, err error) { n, err = s.Conn.Read(b) - logging.Logger().Debugf("Client Socket: read message[%s]", string(b)) + // logging.Logger().Debugf("Client Socket: read message[%s]", string(b)) return } func (s *netSocket) Write(b []byte) (n int, err error) { - logging.Logger().Debugf("Client Socket: write message[%s]", string(b)) + // logging.Logger().Debugf("Client Socket: write message[%s]", string(b)) return s.Conn.Write(b) } diff --git a/socket.go b/socket.go index 1386a69..c0f13a8 100644 --- a/socket.go +++ b/socket.go @@ -4,8 +4,6 @@ import ( "net" "sync" "time" - - "git.loafle.net/commons_go/logging" ) type Socket interface { @@ -52,13 +50,13 @@ func (s *netSocket) ID() string { func (s *netSocket) Read(b []byte) (n int, err error) { n, err = s.Conn.Read(b) - logging.Logger().Debugf("Server Socket: read message[%s]", string(b)) + // logging.Logger().Debugf("Server Socket: read message[%s]", string(b)) return } func (s *netSocket) Write(b []byte) (n int, err error) { - logging.Logger().Debugf("Server Socket: write message[%s]", string(b)) + // logging.Logger().Debugf("Server Socket: write message[%s]", string(b)) return s.Conn.Write(b) }