refactored logging to named pipe for wireshark integration