Atomic write output file, write error log.
Atomic write output file, write error log.

Since another process will be reading the output file write it
atomically with a two-step process (write to temp file and rename).
Write error information to a log file so agent can notify user
when errors occur.

satellitesharing/bloonix-plugins-satellitesharing,satellitesharing/bloonix-plugins-satellitesharing