[pdfJS Viewer] PdfJsViewer cancel logs writting

Forge Component
(7)
Published on 19 Jun (4 weeks ago) by Eduardo Jauch
7 votes
Published on 19 Jun (4 weeks ago) by Eduardo Jauch

I've notice in the Test environment that the PdfJsViewer logs are been written.

For every pdf file I get around 60 lines of log records.

Is there a way to cancel this writing?

Hello Ohad, 

As far as I remember, there are no logs being written directly by the component (I have to check). 

Could you put here some of the logs so I can have an idea about them? 

Cheers

Eduardo Jauch wrote:

Hello Ohad, 

As far as I remember, there are no logs being written directly by the component (I have to check). 

Could you put here some of the logs so I can have an idea about them? 

Cheers

Hey,


This is the message written in the log records.


Espace invalidate cache for espace with id 4 (TenantId: 0) in OUTSYSTEMS-TST1
Invalidated by espace 'pdfJSViewer'


It is worth mention that there is no error log regarding the PdfJSViewer.

I attached some more examples


Thank you,Ohad..


Hello Ohad, 

I'll take a look, as one reason to invalidade cache is changing a site property or directly using a system function, and I am pretty sure we don't do any on the component. 

As soon as I have an answer I'll post here. 

Cheers

Hi Ohad,

I uploaded a new version (for O11) that should fix this problem.
I can't upload an O10 version right now but will be able to do it tomorrow.

Cheers.