You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Michael Osipov <mi...@apache.org> on 2020/05/28 20:23:27 UTC
Confusion on exection/endpoint id
Folks,
while I really like ep-/ex- prefixes in HttpClient 5.0 because the add
more context to the logs, but I wonder why the counters are output in
hex. What was the motivation for this? Long overflow? At first, I
thought it to be a bug in the output. I simply have expected a padded
base 10 number.
Regrads,
Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
Re: Confusion on exection/endpoint id
Posted by Gary Gregory <ga...@gmail.com>.
On Fri, May 29, 2020 at 10:10 AM Michael Osipov <mi...@apache.org> wrote:
> Am 2020-05-28 um 22:53 schrieb Oleg Kalnichevski:
> > On Thu, 2020-05-28 at 22:23 +0200, Michael Osipov wrote:
> >> Folks,
> >>
> >> while I really like ep-/ex- prefixes in HttpClient 5.0 because the
> >> add
> >> more context to the logs, but I wonder why the counters are output
> >> in
> >> hex. What was the motivation for this? Long overflow? At first, I
> >> thought it to be a bug in the output. I simply have expected a
> >> padded
> >> base 10 number.
> >>
> >
> > No reason. We can change the formatting to padded base 10 number if you
> > like it better and are willing to put some work into it.
>
> Alright, will go through Core and Client next week and provide PRs.
>
> Gary, any objections?
>
Counts as longs makes sense, IDs as hex is still good.
Gary
>
> M
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
>
>
Re: Confusion on exection/endpoint id
Posted by Michael Osipov <mi...@apache.org>.
Am 2020-05-28 um 22:53 schrieb Oleg Kalnichevski:
> On Thu, 2020-05-28 at 22:23 +0200, Michael Osipov wrote:
>> Folks,
>>
>> while I really like ep-/ex- prefixes in HttpClient 5.0 because the
>> add
>> more context to the logs, but I wonder why the counters are output
>> in
>> hex. What was the motivation for this? Long overflow? At first, I
>> thought it to be a bug in the output. I simply have expected a
>> padded
>> base 10 number.
>>
>
> No reason. We can change the formatting to padded base 10 number if you
> like it better and are willing to put some work into it.
Alright, will go through Core and Client next week and provide PRs.
Gary, any objections?
M
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org
Re: Confusion on exection/endpoint id
Posted by Oleg Kalnichevski <ol...@apache.org>.
On Thu, 2020-05-28 at 22:23 +0200, Michael Osipov wrote:
> Folks,
>
> while I really like ep-/ex- prefixes in HttpClient 5.0 because the
> add
> more context to the logs, but I wonder why the counters are output
> in
> hex. What was the motivation for this? Long overflow? At first, I
> thought it to be a bug in the output. I simply have expected a
> padded
> base 10 number.
>
No reason. We can change the formatting to padded base 10 number if you
like it better and are willing to put some work into it.
Cheers
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org