From 150072c14bd269a3a44ac326135b9f0e114019d5 Mon Sep 17 00:00:00 2001 From: mattab Date: Thu, 4 Dec 2014 10:53:15 +1300 Subject: [PATCH] More clear output in case one log file could not be found (cherry picked from commit c824a2e) --- misc/log-analytics/import_logs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py index 6d94b6d1224..7b46ea3e11b 100755 --- a/misc/log-analytics/import_logs.py +++ b/misc/log-analytics/import_logs.py @@ -1539,7 +1539,7 @@ def invalid_line(line, reason): file = sys.stdin else: if not os.path.exists(filename): - print >> sys.stderr, 'File %s does not exist' % filename + print >> sys.stderr, "\n=====> Warning: File %s does not exist <=====" % filename return else: if filename.endswith('.bz2'):