def get_logfilename(dspath, cmd='datalad'):
    "Return a filename to use for logging under a dataset/repository\n\n    directory would be created if doesn't exist, but dspath must exist\n    and be a directory\n    "
    assert exists(dspath)
    assert isdir(dspath)
    ds_logdir = ensure_dir(dspath, '.git', 'datalad', 'logs')
    return op.join(ds_logdir, ('crawl-%s.log' % get_timestamp_suffix()))
Return a filename to use for logging under a dataset/repository

directory would be created if doesn't exist, but dspath must exist
and be a directory
def get_logfilename(dspath, cmd='datalad'):
    "Return a filename to use for logging under a dataset/repository\n\n    directory would be created if doesn't exist, but dspath must exist\n    and be a directory\n    "
    assert exists(dspath)
    assert isdir(dspath)
    ds_logdir = ensure_dir(dspath, '.git', 'datalad', 'logs')
    return op.join(ds_logdir, ('crawl-%s.log' % get_timestamp_suffix()))