         command : required
         cb      : undefined
 
+    t0 = misc.walltime()
     misc_node.execute_code
         command     : "ssh"
         args        : ["storage@#{opts.host}", opts.command]
         err_on_exit : true
-        cb          : opts.cb
+        cb          : (err, output) ->
+            winston.debug("#{misc.walltime(t0)} seconds to execute '#{opts.command}' on #{opts.host}")
+            opts.cb?(err)
 
 # Make a snapshot of a given project on a given host and record
 # this in the database.

    opts.cb?()



# according to the database.  Updates the database to reflect success,
# when successful.

get_snapshots = (opts) ->
    opts = defaults opts,
        project_id : required
        host       : undefined
        cb         : required
    if opts.hosts?
        return
        # snapshots on a particular host.


record_new_snapshot = (opts) ->
    opts.cb?()
