From 61b007e53acfaa3c9665fabb06824edbcfcf423c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 5 Sep 2021 09:15:21 +1000 Subject: [PATCH] Minor adjustments for query logging --- app/Http/Middleware/QueryLogging.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Http/Middleware/QueryLogging.php b/app/Http/Middleware/QueryLogging.php index c02498ba79b1..f723c472b6b8 100644 --- a/app/Http/Middleware/QueryLogging.php +++ b/app/Http/Middleware/QueryLogging.php @@ -52,8 +52,10 @@ class QueryLogging $timeEnd = microtime(true); $time = $timeEnd - $timeStart; - if($count > 250) + if($count > 250){ + nlog("Quer count = {$count}"); nlog($queries); + } $ip = '';