Duplicate log entries

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-Tools.

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Stefan - PDF-XChange

Post Reply
involve39
User
Posts: 17
Joined: Thu Aug 29, 2024 10:04 am

Duplicate log entries

Post 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 :)
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19826
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Duplicate log entries

Post 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
involve39
User
Posts: 17
Joined: Thu Aug 29, 2024 10:04 am

Re: Duplicate log entries

Post 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 :)
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19826
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Duplicate log entries

Post 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
Post Reply