This commit is contained in:
paoloar77
2024-06-20 14:18:45 +02:00
parent 571a8a923d
commit 728848c202

View File

@@ -4549,8 +4549,8 @@ Route::get('createlog', function () {
\Log::channel('updateproducts')->notice('This is testing for updateproducts!' . "\n" . 'Ciao'); Log::channel('updateproducts')->notice('This is testing for updateproducts!' . "\n" . 'Ciao');
\Log::channel('updateproducts')->info('This is testing for updateproducts! 2' . "\n" . 'Ciao'); Log::channel('updateproducts')->info('This is testing for updateproducts! 2' . "\n" . 'Ciao');
dd('done'); dd('done');
}); });
@@ -4708,7 +4708,7 @@ Route::get('/prossimauscita', function () {
->get(); ->get();
ob_end_flush(); ob_end_flush();
ob_implicit_flush(true); ob_implicit_flush(true);
\Log::channel('updateproducts')->notice('Inizio da ' . $settingora->value . "\n"); Log::channel('updateproducts')->notice('Inizio da ' . $settingora->value . "\n");
$log = 'PRODOTTI INSERITI' . "\n"; $log = 'PRODOTTI INSERITI' . "\n";
$log1 = 'EVENTUALI PRODOTTI NON INSERITI' . "\n"; $log1 = 'EVENTUALI PRODOTTI NON INSERITI' . "\n";
foreach ($articles as $article) { foreach ($articles as $article) {
@@ -5648,7 +5648,7 @@ Route::get('/prossimauscita', function () {
echo "FINITO!!!"; echo "FINITO!!!";
//$settingora->value = $ora_update; //$settingora->value = $ora_update;
//$settingora->save(); //$settingora->save();
\Log::channel('updateproducts')->notice($log . $log1); Log::channel('updateproducts')->notice($log . $log1);
}); });