laravel/framework — pull request #5926 by pinepain (2014-09-30 14:12:20+00:00)
Title: Add option to disable query log by default

#### Rationale:

On production systems, especially in long-playing CLI scripts query logs grow up and takes significant resources, especially when large inserts or updates performed.
In situations when query log required it should be enabled explicitly.

The real problem why changes required and `\Illuminate\Database\Connection::disableQueryLog` can't be used is when lazy connection initialization used, so we don't know exactly when connection will be created while underlying IoC container creates connection object immediately.

When there are a lot of background scripts (e.g. queue listeners) and there are a lot of such machines that may produce significant overhead in connections number.