Skip to content

Conversation

@miry
Copy link
Contributor

@miry miry commented Aug 26, 2022

Currently when use toxiproxy server with LOG_LEVEL=debug, there is no messages about API requests.

On create a new proxy logs:

INFO[0049] Started proxy                                 name=shopify_http proxy="127.0.0.1:21002" upstream="localhost:20002"

Need to modify toxiproxy to show events related to modification of toxics.

@miry miry mentioned this pull request Aug 26, 2022
18 tasks
@miry miry self-assigned this Aug 26, 2022
@miry miry added the Toxiproxy label Aug 26, 2022
@miry miry added this to the 2.5.0 milestone Aug 26, 2022
@miry miry force-pushed the 413-api-requests-logging branch 3 times, most recently from 653037d to f7da982 Compare August 27, 2022 15:02
Setup initilization part to create logger instance.
Update Proxy logger to use zerologer.
Add HTTP middleware to log all HTTP requests.
@miry miry force-pushed the 413-api-requests-logging branch from e865f86 to 4c4ca67 Compare August 27, 2022 23:05
@miry miry marked this pull request as ready for review August 28, 2022 11:22
@miry miry merged commit 4c4ca67 into master Aug 28, 2022
@miry miry deleted the 413-api-requests-logging branch August 28, 2022 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant