The name of the compressed result file included a timestamp according
to the pattern "day_hour_minute". This is a rather uncommon timestamp
and can cause confusion. This patch changes the timestamp to a more
common "YearMonthDay-HourMinute" format.
Please note: Please check if this change has an impact on the web
portal.
Change-Id: Ife41050bc1d5ca6942706b756d03a1d0d251ae41
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
@classmethod
def save_logs(cls):
- file_suffix = time.strftime('%d_%H_%M', time.localtime(time.time()))
+ file_suffix = time.strftime('%Y%m%d_%H%M', time.localtime())
logs_gz = "logs_{}.tar.gz".format(file_suffix)
result_dir = dt_cfg.dovetail_config['result_dir']