BedrockStreaming / LogBridgeBundle

Symfony Bundle to log Request/Response with Monolog.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shouldn't the post parameters be displayed in the request section ?

aaa2000 opened this issue · comments

M6Web\Bundle\LogBridgeBundle\Tests\Units\Formatter\DefaultFormatter::testPostProvider(): displays

Request
------------------------
------------------------
Response
------------------------
HTTP 1.0 200
Age:           0
Etag:          
Vary:          
Cache-Control: no-cache, private
Date:          Mon, 09 Oct 2023 21:11:45 GMT
Post parameters
 ├ postVar1 : value un
 ├ postVar2 : value 2
 └ programs : Array
   ├ id : 42
   └ title : Non mais Allo quoi
   

I expected it to appear like this

Request
------------------------
Post parameters
 ├ postVar1 : value un
 ├ postVar2 : value 2
 └ programs : Array
   ├ id : 42
   └ title : Non mais Allo quoi
------------------------
Response
------------------------
HTTP 1.0 200
Age:           0
Etag:          
Vary:          
Cache-Control: no-cache, private
Date:          Mon, 09 Oct 2023 21:13:07 GMT