logger |
Symfony\Bridge\Monolog\Logger {#72
#name: "request"
#handlers: [
Monolog\Handler\StreamHandler {#69
#stream: stream resource @47
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 {#68
-dateFormat: null
-removeUsedContextFields: false
}
]
#formatter: Monolog\Formatter\LineFormatter {#657 …}
}
App\Services\ElasticsearchLogstashHandlerImp {#147
-endpoint: "https://elasticsearch.bgdigital.tech"
-index: "guichet_prod_admin"
-client: Symfony\Component\HttpClient\CurlHttpClient {#141 …}
-responses: SplObjectStorage {#137 …}
#level: 200
#bubble: true
#processors: []
#formatter: Monolog\Formatter\LogstashFormatter {#660 …}
-endpoint: "https://elasticsearch.bgdigital.tech"
-index: "guichet_prod_admin"
-client: Symfony\Component\HttpClient\CurlHttpClient {#141 …}
-responses: SplObjectStorage {#138 …}
}
Symfony\Bridge\Monolog\Handler\ConsoleHandler {#70
-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 {#157
-jwtFactory: App\Utils\JWTEncoder {#156 …}
-request: Symfony\Component\HttpFoundation\Request {#155 …}
-requestStack: Symfony\Component\HttpFoundation\RequestStack {#158 …}
}
Symfony\Bridge\Monolog\Processor\DebugProcessor {#159
-records: [
"000000005aec247200000000254ae722" => [
[
"timestamp" => 1731283419
"message" => "Notice: Trying to access array offset on value of type null"
"priority" => 100
"priorityName" => "DEBUG"
"context" => [
"exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#655
+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:306 {
› foreach ($this->processors as $processor) {
› $record = $processor($record);
› }
}
}
}
]
"channel" => "php"
]
[
"timestamp" => 1731283419
"message" => "Notice: Trying to access array offset on value of type null"
"priority" => 100
"priorityName" => "DEBUG"
"context" => [
"exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#656
+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:306 {
› foreach ($this->processors as $processor) {
› $record = $processor($record);
› }
}
}
}
]
"channel" => "php"
]
[
"timestamp" => 1731283419
"message" => "Notice: Trying to access array offset on value of type null"
"priority" => 100
"priorityName" => "DEBUG"
"context" => [
"exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#658
+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:306 {
› foreach ($this->processors as $processor) {
› $record = $processor($record);
› }
}
}
}
]
"channel" => "php"
]
[
"timestamp" => 1731283419
"message" => "Notice: Trying to access array offset on value of type null"
"priority" => 100
"priorityName" => "DEBUG"
"context" => [
"exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#659
+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:306 {
› foreach ($this->processors as $processor) {
› $record = $processor($record);
› }
}
}
}
]
"channel" => "php"
]
[
"timestamp" => 1731283419
"message" => "Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /robots.txt"" at /var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php line 136"
"priority" => 400
"priorityName" => "ERROR"
"context" => [
"exception" => Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#538
-statusCode: 404
-headers: []
#message: "No route found for "GET /robots.txt""
#code: 0
#file: "/var/www/html/vendor/symfony/http-kernel/EventListener/RouterListener.php"
#line: 136
-previous: Symfony\Component\Routing\Exception\ResourceNotFoundException {#502 …}
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"
]
]
"000000005aec26e300000000254ae722" => [
[
"timestamp" => 1731283419
"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 {#829
#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/ContainerQ3oLsnI/App_KernelDevDebugContainer.php:707 {
ContainerQ3oLsnI\App_KernelDevDebugContainer->getDoctrine_Orm_DefaultEntityManagerService($lazyLoad = true) …
› $a->setDefaultRepositoryClassName('Doctrine\\ORM\\EntityRepository');
› $a->setNamingStrategy(new \Doctrine\ORM\Mapping\UnderscoreNamingStrategy());
› $a->setQuoteStrategy(new \Doctrine\ORM\Mapping\DefaultQuoteStrategy());
}
/var/www/html/var/cache/dev/ContainerQ3oLsnI/App_KernelDevDebugContainer.php:655 {
ContainerQ3oLsnI\App_KernelDevDebugContainer->ContainerQ3oLsnI\{closure} …
› return \EntityManager_9a5be93::staticProxyConstructor(function (&$wrappedInstance, \ProxyManager\Proxy\LazyLoadingInterface $proxy) {
› $wrappedInstance = $this->getDoctrine_Orm_DefaultEntityManagerService(false);
›
}
/var/www/html/var/cache/dev/ContainerQ3oLsnI/EntityManager_9a5be93.php:35 {
Closure->__invoke …
› {
› $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93, $this, 'getMetadataFactory', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 = $valueHolder9a5be93;
›
}
/var/www/html/var/cache/dev/ContainerQ3oLsnI/EntityManager_9a5be93.php:35 {
EntityManager_9a5be93->getMetadataFactory() …
› {
› $this->initializer9a5be93 && ($this->initializer9a5be93->__invoke($valueHolder9a5be93, $this, 'getMetadataFactory', array(), $this->initializer9a5be93) || 1) && $this->valueHolder9a5be93 = $valueHolder9a5be93;
›
}
/var/www/html/vendor/doctrine/doctrine-bundle/DataCollector/DoctrineDataCollector.php:71 {
Doctrine\Bundle\DoctrineBundle\DataCollector\DoctrineDataCollector->collect(Request $request, Response $response, Throwable $exception = null) …
›
› $factory = $em->getMetadataFactory();
› $validator = new SchemaValidator($em);
}
/var/www/html/vendor/symfony/http-kernel/Profiler/Profiler.php:161 {
Symfony\Component\HttpKernel\Profiler\Profiler->collect(Request $request, Response $response, Throwable $exception = null) …
› foreach ($this->collectors as $collector) {
› $collector->collect($request, $response, $exception);
›
}
/var/www/html/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:90 {
Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelResponse(ResponseEvent $event) …
›
› if (!$profile = $this->profiler->collect($request, $event->getResponse(), $exception)) {
› return;
}
/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:190 {
Symfony\Component\HttpKernel\HttpKernel->filterResponse(Response $response, Request $request, int $type): Response …
›
› $this->dispatcher->dispatch($event, KernelEvents::RESPONSE);
›
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:178 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
›
› return $this->filterResponse($response, $request, $type);
› }
}
/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/EventListener/ErrorListener.php:60 {
Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException(ExceptionEvent $event, string $eventName = null, EventDispatcherInterface $eventDispatcher = null) …
› try {
› $response = $event->getKernel()->handle($request, HttpKernelInterface::SUB_REQUEST, false);
› } catch (\Exception $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:218 {
Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Throwable $e, Request $request, int $type): Response …
› $event = new ExceptionEvent($this, $request, $type, $e);
› $this->dispatcher->dispatch($event, KernelEvents::EXCEPTION);
›
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:90 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MASTER_REQUEST, bool $catch = true) …
›
› return $this->handleThrowable($e, $request, $type);
› }
}
/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"
]
]
]
-errorCount: [
"000000005aec247200000000254ae722" => 1
"000000005aec26e300000000254ae722" => 0
]
-requestStack: Symfony\Component\HttpFoundation\RequestStack {#158 …}
}
]
#microsecondTimestamps: true
#timezone: DateTimeZone {#71 …}
#exceptionHandler: null
} |