Userful for randomizing the name of a log

def add_date(log):
    '''Userful for randomizing the name of a log'''
    return '{base} - {time}.log'.format(
			base=os.path.splitext(log)[0],
			time=strftime("%a, %d %b %Y %H-%M-%S", gmtime()))