Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Support Cases coming to Qlik Community Oct. 4! Start chats, open cases, explore resources: READ DETAILS
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
Partner

Same problem here. Does anybody have a clue?

rwunderlich

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
Partner

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

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
Partner

Thanks Rob! I'll check that out.