Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
daemon: Add support for CRC_DAEMON_PCAP_FILE env var
The daemon can capture all VM network traffic to a pcap file, which can be useful to debug networking issues. This capture is currently always enabled when --log-level debug is being used. Because of #1881 , this means a big pcap file is created every time the daemon is run with --log-level debug. Since the pcap file won't be needed most of the time, this commit adds a dedicated CRC_DAEMON_PCAP_FILE variable which gives the path where this data should be exported. If unset, no pcap file is created.
- Loading branch information