circonus-labs/nad — pull request #25 by veetow (2014-12-16 17:09:56+00:00)
Title: Added a --wipedebugdir option

I've added an option to delete the debug log before it is written to. This will allow someone to persist to disk only the most recent debug logs from the most recent run of the nad script.

This would be very helpful in a variety of situations where you'd want to collect debug logs over a longer period of time without worrying about them growing too large.