logger |
Symfony\Bridge\Monolog\Logger {#60
#name: "request"
#handlers: [
Monolog\Handler\StreamHandler {#57
#stream: stream resource @40
timed_out: false
blocked: true
eof: false
wrapper_type: "plainfile"
stream_type: "STDIO"
mode: "a"
unread_bytes: 0
seekable: true
uri: "/var/www/html/var/log/dev.log"
options: []
}
#url: "/var/www/html/var/log/dev.log"
-errorMessage: null
#filePermission: null
#useLocking: false
-dirCreated: true
#level: 100
#bubble: true
#processors: [
Monolog\Processor\PsrLogMessageProcessor {#56
-dateFormat: null
-removeUsedContextFields: false
}
]
#formatter: Monolog\Formatter\LineFormatter {#556 …}
}
App\Service\ElasticsearchLogstashHandlerImp {#131
-endpoint: "https://elasticsearch.bgdigital.tech"
-index: "guichet_prod_dgpsn"
-client: Symfony\Component\HttpClient\CurlHttpClient {#125 …}
-responses: SplObjectStorage {#121 …}
#level: 200
#bubble: true
#processors: []
#formatter: Monolog\Formatter\LogstashFormatter {#711 …}
-endpoint: "https://elasticsearch.bgdigital.tech"
-index: "guichet_prod_dgpsn"
-client: Symfony\Component\HttpClient\CurlHttpClient {#125 …}
-responses: SplObjectStorage {#122 …}
}
Symfony\Bridge\Monolog\Handler\ConsoleHandler {#58
-output: null
-verbosityLevelMap: [
16 => 400
32 => 300
64 => 250
128 => 200
256 => 100
]
-consoleFormaterOptions: []
#level: 100
#bubble: true
#processors: []
#formatter: null
}
]
#processors: [
App\Logger\BgRequestProcessor {#141
-jwtFactory: App\Utils\JWTEncoder {#140 …}
-request: Symfony\Component\HttpFoundation\Request {#139 …}
-requestStack: Symfony\Component\HttpFoundation\RequestStack {#142 …}
}
Symfony\Bridge\Monolog\Processor\DebugProcessor {#143
-records: [
"00000000082455a100000000632c8229" => [
[
"timestamp" => 1731418289
"message" => "User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0."
"priority" => 200
"priorityName" => "INFO"
"context" => [
"exception" => ErrorException {#466
#message: "User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0."
#code: 0
#file: "/var/www/html/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/UnderscoreNamingStrategy.php"
#line: 66
#severity: E_USER_DEPRECATED
trace: {
/var/www/html/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/UnderscoreNamingStrategy.php:66 {
Doctrine\ORM\Mapping\UnderscoreNamingStrategy->__construct($case = CASE_LOWER, bool $numberAware = false) …
› 'Creating ' . self::class . ' without making it number aware is deprecated and will be removed in Doctrine ORM 3.0.',
› E_USER_DEPRECATED
› );
}
/var/www/html/var/cache/dev/ContainerXP7YBiN/App_KernelDevDebugContainer.php:684 {
ContainerXP7YBiN\App_KernelDevDebugContainer->getDoctrine_Orm_DefaultEntityManagerService($lazyLoad = true) …
› $b->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
› $b->setNamingStrategy(new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy());
› $b->setQuoteStrategy(new \Doctrine\ORM\Mapping\DefaultQuoteStrategy());
}
/var/www/html/var/cache/dev/ContainerXP7YBiN/App_KernelDevDebugContainer.php:2206 {
ContainerXP7YBiN\App_KernelDevDebugContainer->getValidator_BuilderService() …
› $instance->addLoader(new \Symfony\Component\Validator\Mapping\Loader\PropertyInfoLoader($a, $a, $a, NULL));
› $instance->addLoader(new \Symfony\Bridge\Doctrine\Validator\DoctrineLoader(($this->services['doctrine.orm.default_entity_manager'] ?? $this->getDoctrine_Orm_DefaultEntityManagerService()), NULL));
›
}
/var/www/html/var/cache/dev/ContainerXP7YBiN/App_KernelDevDebugContainer.php:1181 {
ContainerXP7YBiN\App_KernelDevDebugContainer->getValidatorService() …
› {
› $a = ($this->privates['validator.builder'] ?? $this->getValidator_BuilderService());
›
}
/var/www/html/var/cache/dev/ContainerXP7YBiN/App_KernelDevDebugContainer.php:1519 {
ContainerXP7YBiN\App_KernelDevDebugContainer->getApiPlatform_Metadata_Property_MetadataFactory_CachedService() …
› {
› $a = ($this->services['validator'] ?? $this->getValidatorService());
›
}
/var/www/html/var/cache/dev/ContainerXP7YBiN/App_KernelDevDebugContainer.php:1404 {
ContainerXP7YBiN\App_KernelDevDebugContainer->getApiPlatform_IdentifiersExtractor_CachedService() …
› {
› $a = ($this->privates['api_platform.metadata.property.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Property_MetadataFactory_CachedService());
›
}
/var/www/html/var/cache/dev/ContainerXP7YBiN/App_KernelDevDebugContainer.php:1380 {
ContainerXP7YBiN\App_KernelDevDebugContainer->getApiPlatform_Identifier_ConverterService() …
› {
› $a = ($this->privates['api_platform.identifiers_extractor.cached'] ?? $this->getApiPlatform_IdentifiersExtractor_CachedService());
›
}
/var/www/html/var/cache/dev/ContainerXP7YBiN/App_KernelDevDebugContainer.php:1499 {
ContainerXP7YBiN\App_KernelDevDebugContainer->getApiPlatform_Listener_Request_ReadService() …
› {
› return $this->privates['api_platform.listener.request.read'] = new \ApiPlatform\Core\EventListener\ReadListener(($this->privates['debug.api_platform.collection_data_provider'] ?? $this->getDebug_ApiPlatform_CollectionDataProviderService()), ($this->privates['debug.api_platform.item_data_provider'] ?? $this->getDebug_ApiPlatform_ItemDataProviderService()), ($this->privates['debug.api_platform.subresource_data_provider'] ?? $this->getDebug_ApiPlatform_SubresourceDataProviderService()), ($this->privates['api_platform.serializer.context_builder.filter'] ?? $this->getApiPlatform_Serializer_ContextBuilder_FilterService()), ($this->privates['api_platform.identifier.converter'] ?? $this->getApiPlatform_Identifier_ConverterService()), ($this->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $this->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService()));
› }
}
/var/www/html/var/cache/dev/ContainerXP7YBiN/App_KernelDevDebugContainer.php:747 {
ContainerXP7YBiN\App_KernelDevDebugContainer->ContainerXP7YBiN\{closure} …
› $instance->addListener('kernel.request', [0 => function () {
› return ($this->privates['api_platform.listener.request.read'] ?? $this->getApiPlatform_Listener_Request_ReadService());
› }, 1 => 'onKernelRequest'], 4);
}
/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:245 {
Symfony\Component\EventDispatcher\EventDispatcher->sortListeners(string $eventName) …
› if (\is_array($listener) && isset($listener[0]) && $listener[0] instanceof \Closure && 2 >= \count($listener)) {
› $listener[0] = $listener[0]();
› $listener[1] = $listener[1] ?? '__invoke';
}
/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:76 {
Symfony\Component\EventDispatcher\EventDispatcher->getListeners(string $eventName = null) …
› if (!isset($this->sorted[$eventName])) {
› $this->sortListeners($eventName);
› }
}
/var/www/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:290 {
Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->preProcess(string $eventName): void …
›
› foreach ($this->dispatcher->getListeners($eventName) as $listener) {
› $priority = $this->getListenerPriority($eventName, $listener);
}
/var/www/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:145 {
Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
›
› $this->preProcess($eventName);
› try {
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:133 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:79 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/var/www/html/vendor/symfony/http-kernel/Kernel.php:191 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/var/www/html/public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
"channel" => "php"
]
[
"timestamp" => 1731418289
"message" => "Notice: Trying to access array offset on value of type null"
"priority" => 100
"priorityName" => "DEBUG"
"context" => [
"exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#707
+count: 1
-severity: E_NOTICE
trace: {
/var/www/html/src/Logger/BgRequestProcessor.php:46 {
App\Logger\BgRequestProcessor->__invoke(array $record) …
› // dump($dataToken);die;
› $record['extra']['user']['id'] = @$dataToken['id'] ?: '';
› $record['extra']['user']['username'] = @$dataToken['username'] ?: '';
}
/var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php:315 {
› foreach ($this->processors as $processor) {
› $record = $processor($record);
› }
}
}
}
]
"channel" => "php"
]
[
"timestamp" => 1731418289
"message" => "Notice: Trying to access array offset on value of type null"
"priority" => 100
"priorityName" => "DEBUG"
"context" => [
"exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#708
+count: 1
-severity: E_NOTICE
trace: {
/var/www/html/src/Logger/BgRequestProcessor.php:47 {
App\Logger\BgRequestProcessor->__invoke(array $record) …
› $record['extra']['user']['id'] = @$dataToken['id'] ?: '';
› $record['extra']['user']['username'] = @$dataToken['username'] ?: '';
› $record['extra']['user']['roles'] = @$dataToken['roles'] ?: '';
}
/var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php:315 {
› foreach ($this->processors as $processor) {
› $record = $processor($record);
› }
}
}
}
]
"channel" => "php"
]
[
"timestamp" => 1731418289
"message" => "Notice: Trying to access array offset on value of type null"
"priority" => 100
"priorityName" => "DEBUG"
"context" => [
"exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#709
+count: 1
-severity: E_NOTICE
trace: {
/var/www/html/src/Logger/BgRequestProcessor.php:48 {
App\Logger\BgRequestProcessor->__invoke(array $record) …
› $record['extra']['user']['username'] = @$dataToken['username'] ?: '';
› $record['extra']['user']['roles'] = @$dataToken['roles'] ?: '';
› $record['extra']['entity'] = @$dataToken['codeClient'] ?: '';
}
/var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php:315 {
› foreach ($this->processors as $processor) {
› $record = $processor($record);
› }
}
}
}
]
"channel" => "php"
]
[
"timestamp" => 1731418289
"message" => "Notice: Trying to access array offset on value of type null"
"priority" => 100
"priorityName" => "DEBUG"
"context" => [
"exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#710
+count: 1
-severity: E_NOTICE
trace: {
/var/www/html/src/Logger/BgRequestProcessor.php:49 {
App\Logger\BgRequestProcessor->__invoke(array $record) …
› $record['extra']['user']['roles'] = @$dataToken['roles'] ?: '';
› $record['extra']['entity'] = @$dataToken['codeClient'] ?: '';
› // $record['extra']['entity'] = 'bgpartners';
}
/var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php:315 {
› foreach ($this->processors as $processor) {
› $record = $processor($record);
› }
}
}
}
]
"channel" => "php"
]
[
"timestamp" => 1731418289
"message" => "Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /.env"" at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php line 136"
"priority" => 400
"priorityName" => "ERROR"
"context" => [
"exception" => Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#596
-statusCode: 404
-headers: []
#message: "No route found for "GET /.env""
#code: 0
#file: "/var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php"
#line: 136
-previous: Symfony\Component\Routing\Exception\ResourceNotFoundException {#569 …}
trace: {
/var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php:136 {
Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(RequestEvent $event) …
›
› throw new NotFoundHttpException($message, $e);
› } catch (MethodNotAllowedException $e) {
}
/var/www/html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
}
/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:230 {
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
}
/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:59 {
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
}
/var/www/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:151 {
Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:133 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
› $event = new RequestEvent($this, $request, $type);
› $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
›
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:79 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/var/www/html/vendor/symfony/http-kernel/Kernel.php:191 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/var/www/html/public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
}
}
}
]
"channel" => "request"
]
]
]
-errorCount: [
"00000000082455a100000000632c8229" => 1
]
-requestStack: Symfony\Component\HttpFoundation\RequestStack {#142 …}
}
]
#microsecondTimestamps: true
#timezone: DateTimeZone {#59 …}
#exceptionHandler: null
} |