diff --git a/app/Actions/Statistics/LoadEventsAspGoal.php b/app/Actions/Statistics/LoadEventsAspGoal.php index ecf1fdb3..a5f03b73 100644 --- a/app/Actions/Statistics/LoadEventsAspGoal.php +++ b/app/Actions/Statistics/LoadEventsAspGoal.php @@ -105,8 +105,9 @@ class LoadEventsAspGoal }) ->get(); - $queries = DB::getQueryLog(); - Log::info($queries); + DB::listen(function ($res) { + Log::info($res->sql, $res->bindings); + }); $datasets = []; $labels = [];