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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
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,

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/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
Partner Ambassador/MVP
Partner Ambassador/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.