Page 1 of 1

Duplicate log entries

Posted: Fri Oct 04, 2024 1:03 pm
by involve39
Hi,

I've noticed that everything seems to be written twice to the PDF Tools logs.

For example: You run a tool from the command line via

Code: Select all

PDFXTools.exe /RunTool:showui=no;showprog=no;sort=name;subfolder=no `
"{GUID}" `
C:\Input\test.pdf `
/Output:folder="C:\Output";filename="%[FileName].%[FileExt]";overwrite=yes `
/Log:full=no;shared "C:\PDF-Tools.log"
As you can see, there's only one input file.
However, checking the PDF-Tools.log afterwards, you see:

Code: Select all

[02.10.2024, 16:02:33] ----- "xxx" tool started -----
[02.10.2024, 16:02:33] > Choose Input Files
[02.10.2024, 16:02:33] < Choose Input Files
[02.10.2024, 16:02:33] > Filter Files
[02.10.2024, 16:02:33] < Filter Files
[02.10.2024, 16:02:33] > OCR Pages
[02.10.2024, 16:02:42] < OCR Pages
[02.10.2024, 16:02:42] > Optimize Document
[02.10.2024, 16:02:42] < Optimize Document
[02.10.2024, 16:02:42] > Save Documents
[02.10.2024, 16:02:42] < Save Documents
[02.10.2024, 16:02:42] ===== "xxx" tool finished: 0 errors, 1 files processed, 1 files created, 0 warnings, 9s was spent =====

[02.10.2024, 16:02:33] ----- "xxx" tool started -----
[02.10.2024, 16:02:33] > Choose Input Files
[02.10.2024, 16:02:33] < Choose Input Files
[02.10.2024, 16:02:33] > Filter Files
[02.10.2024, 16:02:33] < Filter Files
[02.10.2024, 16:02:33] > OCR Pages
[02.10.2024, 16:02:42] < OCR Pages
[02.10.2024, 16:02:42] > Optimize Document
[02.10.2024, 16:02:42] < Optimize Document
[02.10.2024, 16:02:42] > Save Documents
[02.10.2024, 16:02:42] < Save Documents
[02.10.2024, 16:02:42] ===== "xxx" tool finished: 0 errors, 1 files processed, 1 files created, 0 warnings, 9s was spent =====

Not a major issue, but I thought I'd mention it :)

Re: Duplicate log entries

Posted: Fri Oct 04, 2024 1:39 pm
by Stefan - PDF-XChange
Hello involve39,

Please note that there are > and < symbols next to those operations. Those are the start and end of the said step. Most of them are the same second - but you can see the difference e.g. in the OCR step - where the start and finish are with different time stamps.

Kind regards,
Stefan

Re: Duplicate log entries

Posted: Sat Oct 05, 2024 10:33 am
by involve39
Tracker Supp-Stefan wrote: Fri Oct 04, 2024 1:39 pm Hello involve39,

Please note that there are > and < symbols next to those operations. Those are the start and end of the said step. Most of them are the same second - but you can see the difference e.g. in the OCR step - where the start and finish are with different time stamps.

Kind regards,
Stefan
Hi Stefan,

thanks for your reply!
Did you scroll down inside the code window? I think you might have only seen the first log instance and not the duplicate :)

Re: Duplicate log entries

Posted: Mon Oct 07, 2024 10:06 am
by Stefan - PDF-XChange
Hello involve39,

Apologies! I didn't see there is a scrolled in your initial post and assumed that you are speaking of the two entries per operation!
I see it now, but I do not know why the log is generated that way.

I will check with our dev team to see if they can comment a bit further on this.

Kind regards,
Stefan