mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 12:44:35 -04:00
fixes for logging
This commit is contained in:
parent
cae1df01ef
commit
e53d5dcb13
@ -55,7 +55,7 @@ class QueryLogging
|
|||||||
nlog($request->method().' - '.$request->url().": $count queries - ".$time);
|
nlog($request->method().' - '.$request->url().": $count queries - ".$time);
|
||||||
|
|
||||||
// if($count > 50)
|
// if($count > 50)
|
||||||
nlog($queries);
|
//nlog($queries);
|
||||||
|
|
||||||
LightLogs::create(new DbQuery($request->method(), $request->url(), $count, $time, request()->ip()))
|
LightLogs::create(new DbQuery($request->method(), $request->url(), $count, $time, request()->ip()))
|
||||||
->batch();
|
->batch();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user