diff --git a/src/LaravelDebugbar.php b/src/LaravelDebugbar.php index d54f44c9..cfbd1395 100644 --- a/src/LaravelDebugbar.php +++ b/src/LaravelDebugbar.php @@ -251,7 +251,7 @@ function ($level, $message, $context) use ($logger) { } } - if ($this->shouldCollect('db', true) && isset($this->app['db']) && $this->app['db']->logging()) { + if ($this->shouldCollect('db', true) && isset($this->app['db'])) { $db = $this->app['db']; if ($debugbar->hasCollector('time') && $this->app['config']->get( 'debugbar.options.db.timeline',