

def application_summary(logfile_count):
    '\n    Return a string summarizing general info about the application. This will be output at the start of every logfile.\n\n    :param logfile_count: The number of logfiles the application has created during its current execution\n    :type logfile_count: int\n    '
    separator = ('*' * 50)
    summary_lines = [' ClusterRunner', '  * Version:    {}'.format(autoversioning.get_version()), '  * PID:        {}'.format(os.getpid()), '  * Session id: {}'.format(SessionId.get())]
    if (logfile_count > 1):
        summary_lines.append('  * Logfile count: {}'.format(logfile_count))
    return '\n{0}\n{1}\n{0}\n'.format(separator, '\n'.join(summary_lines))

dataset/ETHPy150Open box/ClusterRunner/app/util/log.py application_summary/original