Loging Query Lumen
app\Providers\AppServiceProvider.php
function boot()
{
app('db')->listen(function ($query) {
app('log')->info(
$query->sql,
$query->bindings,
$query->time
);
});
log location
storage\logs\lumen-{date}.log