Skip to content

skip recording for rsync, scp, and sftp#380

Open
infinet wants to merge 1 commit into
Scribery:mainfrom
infinet:rsync-scp
Open

skip recording for rsync, scp, and sftp#380
infinet wants to merge 1 commit into
Scribery:mainfrom
infinet:rsync-scp

Conversation

@infinet

@infinet infinet commented Jun 24, 2026

Copy link
Copy Markdown

Recording rsync, scp, and sftp session can put huge pressure on log storage and slows down file transfer significantly. Detect them and skip recording session.

Instead of logging file contents transferred via rsync/scp/sftp, the log entry looks like:

..., "out_txt":"rsync --server --sender -vlogDtpre.iLsfxC . ~/src/some.py", ...

..., "out_txt":"rsync --server -vlogDtpre.iLsfxC --partial . /tmp/some.py", ...

..., "out_txt":"scp -t /tmp/some.py","out_bin":[], ...

..., "out_txt":"/usr/libexec/openssh/sftp-server","out_bin":[], ...

It can solve:

#327 Tlog is recording rsync data
#267 Tlog doesn't like WINSCP

Recording rsync, scp, and sftp session can put huge pressure on log
storage and slows down file transfer significantly. Detect them and skip
recording session. Only record the command executed in the log, e.g.
"rsync --server --sender ...".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant