     .option '-p --path [name]', 'item id/name'
     .option '--size [number]', 'split file by ?MB before put'
     .action (name, options) ->
-      par = _.extend {}, defaultOptions, _.pick options, ['path', 'size'].concat _.keys defaultOptions
+      par = _.extend {}, defaultOptions, pickParent(options), _.pick options, ['path', 'size'].concat _.keys defaultOptions
+      logger.setLevel par.logger
       par.localpath = name
       par.path += Path.basename par.localpath if _.endsWith par.path, '/'
       fn = if par.size then cmdPutSession else cmdPut

      logger.error err if err
      logger.debug body if body.error
      _.each body.value, (e) ->
        logger.info '%j', _.omit e, ['createdBy', 'lastModifiedBy', 'parentReference']
      callback()
  wf.exec (err) ->



helper  = require './helper'
logger  = log4js.getLogger()

getToken = (par, fin) ->
  par =
