From 061b80e29131e5407f02b60c86034100f5d5f5ef Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 20 Aug 2024 20:27:08 +0300 Subject: [PATCH] Chore(check_urls): Improve output --- check_urls.py | 1 + check_urls_db.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/check_urls.py b/check_urls.py index 2111b3f..6e0ada8 100755 --- a/check_urls.py +++ b/check_urls.py @@ -50,6 +50,7 @@ def run(): bookmark.parent = None bookmarks.append(bookmark) + log("Checking %s" % url) robot.check_bookmark(bookmark) robot.stop() diff --git a/check_urls_db.py b/check_urls_db.py index 5324a47..b685a69 100755 --- a/check_urls_db.py +++ b/check_urls_db.py @@ -59,14 +59,14 @@ def run(): from m_lib.flog import makelog, openlog if only_errors: log = openlog("check.log") - log("chk_urls restarted for errors") + log("chk_urls_db restarted for errors") if report_stats: - print("chk_urls restarted for errors") + print("chk_urls_db restarted for errors") else: log = makelog("check.log") log("check_urls_db started") if report_stats: - print(" check_urls_db: normal start") + print("check_urls_db started") log.outfile.reconfigure(encoding='utf-8') from storage import storage -- 2.39.5