Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
This has been asked and solved before but the solutions no longer work with newer version of Qlik Talend Cloud Data Management R2025-01v2.
Save run console output in a log file
This no longer works:
java.io.File outputFile = new java.io.File("/Users/richardhall/Documents/output.txt"); java.io.File outputFileErr = new java.io.File("/Users/richardhall/Documents/outputErr.txt"); System.setOut(new java.io.PrintStream(new java.io.FileOutputStream(outputFile, true), true)); System.setErr(new java.io.PrintStream(new java.io.FileOutputStream(outputFileErr, true), true));
I think error is being redirected but it looks as though console is no longer standard out.
Have you tried the first solution from this Qlik Knowledge Article ?
Alternatively maybe you could try using "java.nio.file" instead of "java.io.file", since newer version of Talend use Java 17 maybe there is something broken about the "old" file library.
- Quentin