But wouldn't that mess up output when another thread does sys out println?
Or do we hook in to System.setOut and setErr?

Gary
On May 24, 2016 7:27 AM, "Mikael Ståldal" <[email protected]> wrote:

> Could we avoid that by using FileDescriptor.out / FileDescriptor.err
> instead of System.out / System.err ?
>
> On Tue, May 24, 2016 at 4:09 PM, Matt Sicker <[email protected]> wrote:
>
>> All the PrintStream.write() methods have locks.
>>
>> On 24 May 2016 at 02:56, Mikael Ståldal <[email protected]>
>> wrote:
>>
>>> Do we know why Console has so bad performance (compared to File)? Is
>>> this true also if you redirect STDOUT to a file?
>>>
>>> On Tue, May 17, 2016 at 7:13 PM, Remko Popma <[email protected]>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> First, my thanks to the many people who gave helpful advice and
>>>> feedback on how to measure Log4j response time on this list some time ago.
>>>>
>>>> We're about to start the Log4j 2.6 release.
>>>> If anyone is interested, a preview of the garbage-free logging manual
>>>> page is here:
>>>> http://home.apache.org/~rpopma/log4j/2.6/manual/garbagefree.html
>>>> and a preview of the updated performance page is here:
>>>> http://home.apache.org/~rpopma/log4j/2.6/performance.html
>>>>
>>>> Feedback welcome!
>>>>
>>>> Remko
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>
>>>
>>>
>>> --
>>> [image: MagineTV]
>>>
>>> *Mikael Ståldal*
>>> Senior software developer
>>>
>>> *Magine TV*
>>> [email protected]
>>> Grev Turegatan 3  | 114 46 Stockholm, Sweden  |   www.magine.com
>>>
>>> Privileged and/or Confidential Information may be contained in this
>>> message. If you are not the addressee indicated in this message
>>> (or responsible for delivery of the message to such a person), you may
>>> not copy or deliver this message to anyone. In such case,
>>> you should destroy this message and kindly notify the sender by reply
>>> email.
>>>
>>
>>
>>
>> --
>> Matt Sicker <[email protected]>
>>
>
>
>
> --
> [image: MagineTV]
>
> *Mikael Ståldal*
> Senior software developer
>
> *Magine TV*
> [email protected]
> Grev Turegatan 3  | 114 46 Stockholm, Sweden  |   www.magine.com
>
> Privileged and/or Confidential Information may be contained in this
> message. If you are not the addressee indicated in this message
> (or responsible for delivery of the message to such a person), you may not
> copy or deliver this message to anyone. In such case,
> you should destroy this message and kindly notify the sender by reply
> email.
>

Reply via email to