logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: unexpected end of file
Date Fri, 01 Sep 2017 15:25:43 GMT
On Fri, Sep 1, 2017 at 9:17 AM, Tamer Gür <tgur@ebi.ac.uk> wrote:

> thanks Ralph. My application is running from the main and also i am using
> the Async logger.
>
> is it possible that although main thread finish async thread still needs
> some time to complete compressing?


That is definitively possible and an issue the unit tests also have to deal
with when checking for results.

Gary


>
> Tamer
>
>
> On 01/09/2017 15:56, Ralph Goers wrote:
>
>> It sounds like your application is finishing before compression of the
>> file completes, although from the information given I cannot be sure.
>>
>> Ralph
>>
>> On Sep 1, 2017, at 6:18 AM, Tamer Gür <tgur@ebi.ac.uk> wrote:
>>>
>>> Hi,
>>>
>>> i am using log4j2 2.8.2 with RollingFile and SizeBasedTriggeringPolicy
>>> (250MB).
>>>
>>> My process is finishing normally with all Rolling files except the last
>>> one in last compressed file when i try to open i am getting "unexpected end
>>> of file" message. In the directory i also see the file which should be
>>> inside the last compressed file with same name.
>>>
>>> I have several process like this one in some of them i don't have any
>>> issue but in some i have same issue.
>>>
>>> What could be the issue? Can you help?
>>>
>>> Thanks
>>>
>>> Tamer
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message