aboutsummaryrefslogtreecommitdiff
path: root/hotline
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2024-07-21 12:47:18 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2024-07-21 12:47:18 -0700
commitadcd4879d93e6d298ff2644178bc47c1eb8d1da4 (patch)
tree782399a609d8e09163c0e2f2fb3a3e916c75dd9c /hotline
parentdcd23d5355badf66c34ffd63d3c44734e87ebf17 (diff)
Clean up logging
Diffstat (limited to 'hotline')
-rw-r--r--hotline/file_transfer.go3
-rw-r--r--hotline/server.go2
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
}