mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Turn off db query logs
This commit is contained in:
parent
aee3b77581
commit
c6d04972f7
@ -40,15 +40,15 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
*/
|
*/
|
||||||
public function boot()
|
public function boot()
|
||||||
{
|
{
|
||||||
\DB::listen(function($query) {
|
// \DB::listen(function($query) {
|
||||||
nlog(
|
// nlog(
|
||||||
$query->sql,
|
// $query->sql,
|
||||||
[
|
// [
|
||||||
'bindings' => $query->bindings,
|
// 'bindings' => $query->bindings,
|
||||||
'time' => $query->time
|
// 'time' => $query->time
|
||||||
]
|
// ]
|
||||||
);
|
// );
|
||||||
});
|
// });
|
||||||
|
|
||||||
// Model::preventLazyLoading(
|
// Model::preventLazyLoading(
|
||||||
// !$this->app->isProduction()
|
// !$this->app->isProduction()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user