Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

No timestamp on each line logfile

Does anybody know why the timestamp would NOT appear on each line of the log file for an app?

I use the line timestamp frequently as a reference, but just discovered that certain apps don't have a timestamp on each line.

Thanks

6 Replies
diegofcaivano
Partner - Creator
Partner - Creator

Same problem here. Does anybody have a clue?

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

The log timestamp should appear on each logical line. If the line wraps to multiple physical lines, the timestamp will only be on the first physical line. When I process log files, I generally assume that a line without a time shoud inherit the time from the previous line.

-Rob

Sokkorn
Master
Master

Hi,

Make sure you check this box

Untitled.png

Regards,

Sokkorn

diegofcaivano
Partner - Creator
Partner - Creator

Hi Rob, thanks for your answer but unfortunately that's not the case.

Inside each *.qvw.log the time is not always printed. Some lines have it, some others don't.

Let me help you understand with the following screenshot:

Captura.PNG

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

The log timestamp format comes from the

SET TimestampFormat=

statement. You'll see that when it is reset in the script full timestamps appear on subsequent lines. When the script begins, it uses whatever timestamp the last script completed with. That becomes the document default. For a new document, I believe it starts the TimestampFormat from the windows system values.

Are you setting TimestampFormat elsewhere in the script?

-Rob

http://masterssummit.com

http://robwunderlich.com

diegofcaivano
Partner - Creator
Partner - Creator

Thanks Rob! I'll check that out.