Github user garydgregory commented on the issue:
https://github.com/apache/logging-log4j2/pull/218
One "realistic" example would be to think of logging against a database
table. Some tables have lots of columns. How many, well, a thousand is
possible I suppose.
Gary
On Tue, Oct 16, 2018 at 3:55 PM Remko Popma <[email protected]>
wrote:
> I cannot imagine any program logging one million parameters so this
> benchmark is perhaps a bit academic. :-)
> In a realistic program a "large" parameter array is probably more like 100
> elements (and I would not like to maintain a program that has a logging
> statement with 100 parameters).
>
> Can we measure again with an extreme case of 1000 parameters?
>
> I suspect that with an array of 1000 (or even 10,000) elements we won't
> see much difference between nulling out only the first 10 or the full
> array, in which case it is more robust to simply null out the whole array.
>
> â
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
>
<https://github.com/apache/logging-log4j2/pull/218#issuecomment-430415191>,
> or mute the thread
>
<https://github.com/notifications/unsubscribe-auth/ABIfN3imZy0sRPYKZXh5-8f_Wi3aJ2Wjks5ullXigaJpZM4XXtEW>
> .
>
---