Browse Source

improve notice level debug

main
yggverse 8 months ago
parent
commit
c4df3f3237
  1. 20
      src/cli/document/crawl.php

20
src/cli/document/crawl.php

@ -782,6 +782,17 @@ foreach($index->search('') @@ -782,6 +782,17 @@ foreach($index->search('')
}
}
}
else
{
if ($config->cli->document->crawl->debug->level->notice)
{
echo sprintf(
_('[%s] [notice] local snap skipped by settings condition') . PHP_EOL,
date('c')
);
}
}
}
// Copy to FTP storage on enabled
@ -837,6 +848,15 @@ foreach($index->search('') @@ -837,6 +848,15 @@ foreach($index->search('')
if (!$allowed)
{
if ($config->cli->document->crawl->debug->level->notice)
{
echo sprintf(
_('[%s] [notice] remote snap skipped on "%s" by settings condition') . PHP_EOL,
date('c'),
$ftp->connection->host
);
}
continue;
}

Loading…
Cancel
Save