From 0ae3de2a0e2ac248fd16b76bc7375b002d1e8fb3 Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Mon, 11 May 2020 16:52:00 -0700 Subject: [PATCH] Slightly less verbose log messages. --- src/main/lemondronor/advisorycircular/adsbx.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/lemondronor/advisorycircular/adsbx.cljs b/src/main/lemondronor/advisorycircular/adsbx.cljs index 0a17212..5b4ecfc 100644 --- a/src/main/lemondronor/advisorycircular/adsbx.cljs +++ b/src/main/lemondronor/advisorycircular/adsbx.cljs @@ -63,7 +63,7 @@ ([icao lat lon] (screenshot-aircraft icao lat lon {})) ([icao lat lon options] - (log-info "Taking screenshot of aircraft %s at %s %s" icao lat lon) + (log-info "%s Taking screenshot of aircraft at %s %s" icao lat lon) (let [icao-selector (gstring/format "//td[contains(., '%s')]" (string/upper-case icao)) launch-options {:headless (get options :headless? true) @@ -83,7 +83,7 @@ (.setUserAgent page user-agent)) (log-debug "Navigating") (let [url (tar1090-url icao options)] - (log-info "Getting screenshot at url %s with zoom %s" url (or (:zoom options) 14)) + (log-info "%s Getting screenshot at url %s with zoom %s" icao url (or (:zoom options) 14)) (p/all [(.waitForNavigation page) (.goto page url