mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
improve notice level debug
This commit is contained in:
parent
3a9efeabc5
commit
c4df3f3237
1 changed files with 20 additions and 0 deletions
|
|
@ -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
|
// Copy to FTP storage on enabled
|
||||||
|
|
@ -837,6 +848,15 @@ foreach($index->search('')
|
||||||
|
|
||||||
if (!$allowed)
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue