def make_script_file(directory, effects):
    builder = ScriptBuilder(effects)
    fd, filename = tempfile.mkstemp(dir=directory, text=True)
    os.write(fd, builder.script())
    os.close(fd)
    os.chmod(filename, 0555)
    return os.path.basename(filename)
Gets the log entries related to this object.
dataset/ETHPy150Open ClusterHQ/flocker/admin/client.py/make_script_file--crossover with--dataset/ETHPy150Open kapsiry/sikteeri/services/models.py/_get_logs