logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamer Gür <t...@ebi.ac.uk>
Subject Re: unexpected end of file
Date Fri, 01 Sep 2017 15:23:46 GMT
i realized that i am using System.exit(0); in my main method i guess i 
shouldn't use it.

Thanks

Tamer


On 01/09/2017 16:17, Tamer Gür 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?
>
> 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
>


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message