diff options
Diffstat (limited to 'hotline')
| -rw-r--r-- | hotline/file_transfer.go | 3 | ||||
| -rw-r--r-- | hotline/server.go | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/hotline/file_transfer.go b/hotline/file_transfer.go index 12725db..847c7fe 100644 --- a/hotline/file_transfer.go +++ b/hotline/file_transfer.go @@ -421,7 +421,6 @@ func DownloadFolderHandler(rwc io.ReadWriter, fullPath string, fileTransfer *Fil } subPath := path[basePathLen+1:] - rLogger.Debug("Sending fileheader", "i", i, "path", path, "fullFilePath", fullPath, "subPath", subPath, "IsDir", info.IsDir()) if i == 1 { return nil @@ -437,8 +436,6 @@ func DownloadFolderHandler(rwc io.ReadWriter, fullPath string, fileTransfer *Fil return err } - rLogger.Debug("Client folder download action", "action", fmt.Sprintf("%X", nextAction[0:2])) - var dataOffset int64 switch nextAction[1] { diff --git a/hotline/server.go b/hotline/server.go index c4d8f7f..5531bd3 100644 --- a/hotline/server.go +++ b/hotline/server.go @@ -400,7 +400,7 @@ func (s *Server) handleNewConnection(ctx context.Context, rwc io.ReadWriteCloser return err } - c.Logger.Info("Login failed", "clientVersion", fmt.Sprintf("%x", c.Version)) + c.Logger.Info("Incorrect login") return nil } |