pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Catching log warnings
Date Tue, 04 Jul 2017 16:47:02 GMT
You have to configure your logger to write to a file instead of the 
console. Just google the name of your logger (e.g. log4j) and 
"configuration".

Tilman


Am 04.07.2017 um 07:58 schrieb karthick g:
> Hi,
>
> Yes you are right, It is already given to you. What my nature of job is to
> identify the error  and to write it in our log file.
> Since it is given as warning in console, I can not able to log the error in
> my file. The errors identified are ok, even we can not open the file in
> Acrobat.  So if it is thrown as error it will be useful. Since it is a
> error file, it should be thrown as error right.
> Please let me know for for further clarification. Thanks for your support.
>
> Regards,
> Karthick G
>
>
> On Mon, Jul 3, 2017 at 4:16 PM, karthick g <ikarthick2002@gmail.com> wrote:
>
>> Hi team,
>>
>> This is the corresponding pdf file link
>>
>> https://www.dropbox.com/s/hzkzfowl29b62fy/corrupt.pdf?dl=0
>>
>> Regards,
>> karthick G
>>
>> On Mon, Jul 3, 2017 at 4:15 PM, karthick g <ikarthick2002@gmail.com>
>> wrote:
>>
>>> Hi Team,
>>>
>>> This is the corresponding PDF file.
>>>
>>> Regards,
>>> karthick g
>>>
>>> On Mon, Jul 3, 2017 at 9:10 AM, karthick g <ikarthick2002@gmail.com>
>>> wrote:
>>>
>>>> Hi team,
>>>>
>>>> Is their way to catch the warnings that print at the console .
>>>>
>>>> For example am getting the warning while rendering the Image
>>>>
>>>>
>>>>
>>>> *Unexpected object type: org.apache.pdfbox.cos.COSDictionary*
>>>> I need to catch this info and do some action based on this warning
>>>>
>>>> Please let me know if you need more info.
>>>>
>>>> Regards,
>>>> Karthick G
>>>>
>>>>
>>>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message