Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
vlad_komarov
Partner - Specialist III
Partner - Specialist III

Logging to external file

Hello,

I would need to log some information during the QV script reload, but I would need to do it into some external file (not default QV log file) .

Is it possible to re-direct the output of trace() command to external file in some cases? Any other options exist?

I would appreciate any suggestions.

Best regards,

Labels (1)
1 Solution

Accepted Solutions
rwunderlich
MVP
MVP

Hi Vladimir,

I usually use a logging subroutine as demonstrated in the attached example. It writes the output to a file named documentname_log.txt via the STORE statement.

View solution in original post

2 Replies
rwunderlich
MVP
MVP

Hi Vladimir,

I usually use a logging subroutine as demonstrated in the attached example. It writes the output to a file named documentname_log.txt via the STORE statement.

vlad_komarov
Partner - Specialist III
Partner - Specialist III
Author

Thanks, Rob. Your example works perfectly, exactly as I need it.

Thank you for your help.