Add logging to the ntap script.

In case something goes wrong, the analyst can see it easily.