nodeinfo: lower log level of regular actions to debug
This commit is contained in:
parent
2c75600532
commit
05bbdbf388
1 changed files with 2 additions and 2 deletions
|
@ -188,7 +188,7 @@ def update_metadata(%URI{host: host} = uri) do
|
||||||
defp do_update_metadata(%URI{host: host} = uri, existing_record) do
|
defp do_update_metadata(%URI{host: host} = uri, existing_record) do
|
||||||
if existing_record do
|
if existing_record do
|
||||||
if needs_update(existing_record) do
|
if needs_update(existing_record) do
|
||||||
Logger.info("Updating metadata for #{host}")
|
Logger.debug("Updating metadata for #{host}")
|
||||||
favicon = scrape_favicon(uri)
|
favicon = scrape_favicon(uri)
|
||||||
nodeinfo = scrape_nodeinfo(uri)
|
nodeinfo = scrape_nodeinfo(uri)
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ defp do_update_metadata(%URI{host: host} = uri, existing_record) do
|
||||||
favicon = scrape_favicon(uri)
|
favicon = scrape_favicon(uri)
|
||||||
nodeinfo = scrape_nodeinfo(uri)
|
nodeinfo = scrape_nodeinfo(uri)
|
||||||
|
|
||||||
Logger.info("Creating metadata for #{host}")
|
Logger.debug("Creating metadata for #{host}")
|
||||||
|
|
||||||
%Instance{}
|
%Instance{}
|
||||||
|> changeset(%{
|
|> changeset(%{
|
||||||
|
|
Loading…
Reference in a new issue