Added new style logging to the archive task. Fixes #143.