Browse Source

fix debug message

main
ghost 12 months ago
parent
commit
0e06ff3c0f
  1. 5
      src/cli/document/crawl.php

5
src/cli/document/crawl.php

@ -125,12 +125,15 @@ foreach($search->get() as $document)
]; ];
// Debug target // Debug target
if ($config->cli->document->crawl->debug->level->notice)
{
echo sprintf( echo sprintf(
_('[%s] index "%s" in "%s"') . PHP_EOL, _('[%s] [notice] index "%s" in "%s"') . PHP_EOL,
date('c'), date('c'),
$document->get('url'), $document->get('url'),
$config->manticore->index->document->name $config->manticore->index->document->name
); );
}
// Update index time anyway and set reset code to 404 // Update index time anyway and set reset code to 404
$index->updateDocument( $index->updateDocument(

Loading…
Cancel
Save