Skip to content

Log filename of the file being transferred, issue #33 - #38

Merged
ehrenfeu merged 7 commits into
imcf:develfrom
rohangirishrao:log-filename
Oct 21, 2026
Merged

ehrenfeu merged 7 commits into
imcf:develfrom
rohangirishrao:log-filename

Conversation

@rohangirishrao

Copy link
Copy Markdown

It was hard to track in the log which file is being copied currently, so this PR aims to solve that. Any file above a certain size (LogFileMinSize=100MB currently) is now logged at the start of its transfer, as shown below. All lines are at the INFO level.

2026-10-16 16:11:24 [Info] Transferring file [ChickHH31_ShaettinVoigt_ch_561.ims] (36 GB)

If the file is interrupted during a transfer, this is also logged clearly:
2026-10-16 16:12:58 [Info] Interrupted while transferring [ChickHH31_ShaettinVoigt_ch_561.ims]

Note: please merge PR #32 first!

This details the changes made to fix AtxTray and shutdown copy errors.
Introduce variables to track minimum file size to be logged, and the
current filename
@rohangirishrao rohangirishrao changed the title Log filename of the file being transferred currently Log filename of the file being transferred, issue #33 Oct 16, 2026
@rohangirishrao rohangirishrao self-assigned this Oct 16, 2026
@rohangirishrao rohangirishrao added this to the v4.0.0 milestone Oct 16, 2026
@rohangirishrao rohangirishrao linked an issue Oct 16, 2026 that may be closed by this pull request
Comment thread ATxService/AutoTx.cs Outdated
@ehrenfeu
ehrenfeu merged commit 94941c2 into imcf:devel Oct 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Print name of the file being transferred in the log

2 participants