One other possibility is to not bother doing anything in the
LogOutputStream when flushed.

Conor

On Tue, Apr 19, 2011 at 06:03, Antoine Levy-Lambert <anto...@gmx.de> wrote:
> there is an interesting patch in this bug report :
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=50507
>
> Regards,
>
> Antoine
>
> On 4/18/2011 4:14 AM, Nicolas Lalevée wrote:
>>
>> Le 18 avr. 2011 à 08:10, Conor MacNeill a écrit :
>>
>>> Nicolas,
>>>
>>> The change you introduced to address this bug
>>>
>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=50960
>>>
>>> really breaks my output when running java processes because the
>>> autoflush is flushing at 128 byte boundaries. The log output stream
>>> always writes a line when flush is called.
>>>
>>> Here is an example:
>>>
>>>     [java] 15:53:53 WARN  - Package Scanner found duplicates for
>>> package 'org.w3c.dom' with different ver
>>>     [java] sions. Files: xom-1.1.jar and xmlbeans-2.3.0.jar
>>>     [java]   '/Users/conor/work/fedefault/output/dist/lib/xom-1.1.jar'
>>>     [java]   '/Users/conor/wor
>>>     [java] k/fedefault/output/dist/lib/xmlbeans-2.3.0.jar'
>>
>> hum...
>> I guess that more than a simple "autoflush" we should have something like
>> an "autoflush-on-end-of-line".
>> I'll try something.
>>
>> Nicolas
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
> For additional commands, e-mail: dev-h...@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to