ijpiantanida / talkback

A simple HTTP proxy that records and playbacks requests
MIT License
283 stars 41 forks source link

Include server name in startup message #65

Closed elepedus closed 2 years ago

elepedus commented 2 years ago

I'd like to say a big "Thank you!" for your work on Talkback. I've been using it for about a year in multiple projects, and it's been huge help in allowing us to do End-to-End testing without having to call live APIs.

I have only a tiny improvement suggestion. We often have multiple talkback servers, each representing a different service we need to proxy. However, it's quite difficult to identify these from the talkback startup message eg:

Screenshot 2021-11-05 at 14 52 29

This PR adjusts the startup message to include the server name eg:

Screenshot 2021-11-05 at 15 00 18
ijpiantanida commented 2 years ago

Hi @elepedus, thanks for the PR!

I actually used this opportunity to structure the logs with a little bit more information. Now the server name is part of all log entries.

Try v2.5.0 and let me know if you have any comments.