Skip to content
Snippets Groups Projects
Commit 1d156eef authored by a.croix's avatar a.croix
Browse files

Change logger setting to use custom log channel

parent c96d74cf
No related branches found
No related tags found
1 merge request!1Include Wowa Training
Pipeline #5813 passed
......@@ -51,7 +51,7 @@ class WowaJob implements ShouldQueue
public function handle()
{
$logger = new Logger('wowa-training-test');
$logger->pushHandler(new StreamHandler(__DIR__ . '/../../storage/logs/training.log', Logger::DEBUG));
//$logger->pushHandler(new StreamHandler(__DIR__ . '/../../storage/logs/training.log', Logger::INFO));
$this->wowa->status = Wowa::STATE_RUNNING;
$this->wowa->start_time = time();
$this->wowa->save();
......@@ -61,7 +61,7 @@ class WowaJob implements ShouldQueue
$this->wowa->save();
return;
}
$logger->debug("Begin find all related evidences");
$logger->info("Begin find all related evidences");
try {
......@@ -83,7 +83,7 @@ class WowaJob implements ShouldQueue
$this->wowa->save();
}
$logger->debug("End find all related evidences");
$logger->info("End find all related evidences");
$training_prameters = new TrainerParameters(
$logger,
$this->wowa->population,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment