Skip to content

Replace TRACE_PRINT logging with ETW - #852

Open
cicku wants to merge 1 commit into
nmap:masterfrom
cicku:etw-logging
Open

Replace TRACE_PRINT logging with ETW#852
cicku wants to merge 1 commit into
nmap:masterfrom
cicku:etw-logging

Conversation

@cicku

@cicku cicku commented Sep 6, 2026

Copy link
Copy Markdown
  • Packet.dll and NpcapHelper.exe now report their debug output as ETW events instead of raw log files.

  • NPFInstall.exe emits the same events, and continues to write NPFInstall.log in the installation directory as before.

  • Removed the Release LOG_TO_FILE build configuration of Packet.dll and the _DEBUG_TO_FILE preprocessor definition.


Tested with VS 2022 build tools overridden to v143, the project has v120.


Fixes #86

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.

Npcap: use Event Tracing (Windows) instead of writing debug logs to file

1 participant