From 64c2abf173a1a36c0ebdeb0b7e065b9891788207 Mon Sep 17 00:00:00 2001 From: Raynor Date: Mon, 26 Dec 2022 17:20:07 +0000 Subject: [PATCH] Updated logging output --- scripts/start-firehose.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/start-firehose.sh b/scripts/start-firehose.sh index e33fbcb..70bf335 100644 --- a/scripts/start-firehose.sh +++ b/scripts/start-firehose.sh @@ -21,13 +21,13 @@ do for tag in $tags do if [[ $tag != "" ]]; then - echo "Found tag $tag" + echo "[INFO] Found tag $tag" # Create a url to fetch for each tag echo "https://$host/api/v1/streaming/hashtag?tag=$tag $host" >> /config/urls.txt fi done elif [[ "$line" != *" #"* ]]; then - echo "$line didn't have hashtags" + echo "[INFO] $line didn't have hashtags" host=$line echo "https://$line/api/v1/streaming/public $line" >> /config/urls.txt fi @@ -54,13 +54,13 @@ do for tag in $tags do if [[ $tag != "" ]]; then - echo "Found tag $tag" + echo "[INFO] Found tag $tag" # Create a url to fetch for each tag echo "https://$host/api/v1/streaming/hashtag/local?tag=$tag $host" >> /config/urls.txt fi done elif [[ "$line" != *" #"* ]]; then - echo "$line didn't have hashtags" + echo "[INFO] $line didn't have hashtags" host=$line echo "https://$line/api/v1/streaming/public/local $line" >> /config/urls.txt fi