diff --git a/app/Http/Middleware/QueryLogging.php b/app/Http/Middleware/QueryLogging.php index 843e5e3b93f9..c16da1252130 100644 --- a/app/Http/Middleware/QueryLogging.php +++ b/app/Http/Middleware/QueryLogging.php @@ -52,12 +52,12 @@ class QueryLogging $timeEnd = microtime(true); $time = $timeEnd - $timeStart; - nlog($request->method().' - '.$request->url().": $count queries - ".$time); + nlog($request->method().' - '.urldecode($request->fullUrl()).": $count queries - ".$time); // if($count > 50) //nlog($queries); - LightLogs::create(new DbQuery($request->method(), $request->url(), $count, $time, request()->ip())) + LightLogs::create(new DbQuery($request->method(), urldecode($request->fullUrl()), $count, $time, request()->ip())) ->batch(); }