From 74e94075b52f648dcc7e894f6af2183616001f1f Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 4 Sep 2021 17:49:42 +1000 Subject: [PATCH] disable query logging --- app/Http/Middleware/QueryLogging.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Middleware/QueryLogging.php b/app/Http/Middleware/QueryLogging.php index f1bec7cc3c56..551be496f6be 100644 --- a/app/Http/Middleware/QueryLogging.php +++ b/app/Http/Middleware/QueryLogging.php @@ -52,10 +52,10 @@ class QueryLogging $timeEnd = microtime(true); $time = $timeEnd - $timeStart; - nlog("Query count = {$count}"); + nlog("Query count = {$count}"); - //if($count > 250) - nlog($queries); + if($count > 250) + nlog($queries); $ip = '';