The current output using -json is a bit clunky for inspecting logs as the application is running, and on restarts.
e.g. sudo /Applications/DNSMonitor.app/Contents/MacOS/DNSMonitor -json >> dns.log creates a file starting with [ and it doesn't terminate with ] until the process finishes.
The current output using -json is a bit clunky for inspecting logs as the application is running, and on restarts.
e.g.
sudo /Applications/DNSMonitor.app/Contents/MacOS/DNSMonitor -json >> dns.log
creates a file starting with[
and it doesn't terminate with]
until the process finishes.Could the output be changed to json lines similar to https://github.com/objective-see/ProcessMonitor and https://github.com/objective-see/FileMonitor ? This would allow users to pipe the file to
jq
, or other utilities while still logging traffic.