On Fri, Feb 17, 2017 at 2:43 AM, Oleg Kalnichevski <[email protected]> wrote:
> On Thu, 2017-02-16 at 09:11 -0800, Gary Gregory wrote: > > On Feb 16, 2017 7:02 AM, "Oleg Kalnichevski" <[email protected]> > > wrote: > > > > On Wed, 2017-02-15 at 13:19 -0800, Gary Gregory wrote: > > > Hi All: > > > > > > Right now our user agent logs as: > > > > > > User-Agent: Apache-HttpClient/4.5.2 (Java/1.7.0_80) > > > > > > I think this would be more helpful when debugging: > > > > > > User-Agent: Apache-HttpClient/4.5.2 Apache-HttpCore/4.4.5 > > > Java/1.7.0_80 > > > > > > Thoughts? > > > > > > Gary > > > > > > > > > Gary > > > > > > What would be the benefit of doing so? > > > > > > At work we a ship a large server (and client libs) which is > > configurable > > out the wazoo. When we get debug logs from customers, and we need to > > reproduce issues, it is always best to get the most accurate picture > > of > > what is going on so we can duplicate. > > > > Gary > > It should be quite easy to plug in a custom protocol interceptor that > generates a user agent header with additional runtime details. However, > I am not sure it would really make sense to change the format used by > default. I hope you agree. > Sounds OK. Any hints as to where to allow this to be plugged in exactly? Gary > > Oleg > > > > > > For instance for HttpAsyncClient we would have include HttpCore, > > HttpCore NIO, HttpClient and HttpAsyncClient versions. It seems to > > make > > more complex then necessary. > > > > > > It is still a lot less complex than what a web browser submits ;-) > > > > I'm only looking to make debugging easier for myself without having > > to do a > > screenshare to pick apart a customers config. > > > > Gary > > > > > > Oleg > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- E-Mail: [email protected] | [email protected] Java Persistence with Hibernate, Second Edition <https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459> JUnit in Action, Second Edition <https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021> Spring Batch in Action <https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action> <http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951> Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory
