From ea392583c2a2a69033e04b0d0f46853d095b4570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu> Date: Fri, 27 Jan 2017 17:31:02 +0100 Subject: [PATCH] Changed log name in tester email. --- tester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tester.py b/tester.py index 5f23d2ab..2b5a7944 100755 --- a/tester.py +++ b/tester.py @@ -185,7 +185,7 @@ Content-transfer-encoding: utf-8 recipients=recipients, status='OK' if exit_code == 0 else 'KO', date=now.strftime('%Y-%m-%d %H:%M:%S'), - log_name='results_' + now.strftime('%Y-%m-%d_%H-%M-%S') + '.txt', + log_name='results_%s_%s.txt' % (hostname, now.strftime('%Y-%m-%d_%H-%M-%S')), report=html_report, log_content=log_content, ) -- GitLab