Skip to content

Add send/receive suffix to full-duplex log file names#710

Merged
imadityaa merged 1 commit into
microsoft:mainfrom
rudraptpsingh:user/rudrasingh/ntttcp-fullduplex-log-names
May 20, 2026
Merged

Add send/receive suffix to full-duplex log file names#710
imadityaa merged 1 commit into
microsoft:mainfrom
rudraptpsingh:user/rudrasingh/ntttcp-fullduplex-log-names

Conversation

@rudraptpsingh
Copy link
Copy Markdown
Contributor

In full-duplex mode, both send and receive processes were logged with the same tool name 'NTttcp', resulting in log files that were only distinguishable by timestamp. This makes it hard to identify which log belongs to the sender vs receiver.

Pass 'NTttcp-Send' and 'NTttcp-Receive' as the tool name to LogProcessDetailsAsync so log files are named:
-ntttcp_tcp_4k_buffer_t1-send.log
-ntttcp_tcp_4k_buffer_t1-receive.log

In full-duplex mode, both send and receive processes were logged with
the same tool name 'NTttcp', resulting in log files that were only
distinguishable by timestamp. This makes it hard to identify which
log belongs to the sender vs receiver.

Pass 'NTttcp-Send' and 'NTttcp-Receive' as the tool name to
LogProcessDetailsAsync so log files are named:
  <timestamp>-ntttcp_tcp_4k_buffer_t1-send.log
  <timestamp>-ntttcp_tcp_4k_buffer_t1-receive.log
@imadityaa imadityaa enabled auto-merge (squash) May 20, 2026 08:12
@imadityaa imadityaa merged commit 0b16547 into microsoft:main May 20, 2026
5 checks passed
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.

3 participants