Take data from salt and "return" it into a raw file containing the json, with one line per event.
Add the following to the minion or master configuration file.
Common use is to log all events on the master. This can generate a lot of
noise, so you may wish to configure batch processing and/or configure the
to restrict the events that are written.
Write event data (return data and non-return data) to file on the master.
Write the return data to a file on the minion.