less verbose crawler logging

This commit is contained in:
Tao Bror Bojlén 2019-07-27 12:05:41 +03:00
parent 5ca8de5dbe
commit d5a114fa43
No known key found for this signature in database
GPG Key ID: C6EC7AAB905F9E6F
2 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,7 @@ defmodule Backend.Crawler do
}
def run(domain) do
Logger.info("Crawling #{domain}...")
Logger.debug("Starting crawl of #{domain}")
HTTPoison.start()
state = %Crawler{

View File

@ -16,6 +16,8 @@ defmodule Backend.Crawler.StaleInstanceManager do
@impl true
def init(_opts) do
Logger.info("Starting crawler manager...")
instance_count =
Instance
|> where([i], not is_nil(i.version))