pkg / sftp

SFTP support for the go.crypto/ssh package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

we got unnecessary logging occurs

alhamsya opened this issue · comments

we got unnecessary logging occurs when there is an error. Should be isn't any print logging .zip and .txt at the log management

"Unable to update a stale item: item.save()" (SSH_FX_FAILURE)"

image

I don’t see how this could be caused by us: 🤔

sftp$ grep --exclude="*_test.go" "[^sS][pP]rint" *.go internal/encoding/ssh/filexfer/{*.go,*/*.go}
debug.go:       log.Printf(fmt, args...)
request-example.go:     // fmt.Println(string(p), off)
server.go:              fmt.Fprintf(svr.debugStream, "sftp server file with handle %q left open: %v\n", handle, file.Name())