diff --git a/src/Listeners/QueryListener.php b/src/Listeners/QueryListener.php index 67509a5..b6d0f26 100644 --- a/src/Listeners/QueryListener.php +++ b/src/Listeners/QueryListener.php @@ -37,7 +37,7 @@ class QueryListener if (env('APP_DEBUG')) { $sql = str_replace("?", "'%s'", $event->sql); $log = vsprintf($sql, $event->bindings); - $requestId = app('request')->header('x-request-id','fastcgi_config_err'); + $requestId = app('request')->header('x-request-id','nginx_config_error'); $text = "$requestId\t$log\t"; $this->logger->debug($text, ['conn' => $event->connectionName, 'time' => $event->time.'ms']); }