cancel
Showing results for 
Search instead for 
Did you mean: 

Data Intelligence: How to send output to a file (appending) or Terminal window ?

marcus_schiffer
Active Participant
0 Kudos
307

Hi,

often we use imported packages in python inside of the Data Intelligence Python operator that print out log messages.

Is it possible to redirect the output to a stream in either a file or a terminal output in the operator ?

We have tried to redirect to a file, but the file is only written at the end of the process, so it it is not continously appending the output. Also flush will not help, since we cannot change the imported package.

Any help is highly appreciated.

Regards

Marcus

Accepted Solutions (0)

Answers (1)

Answers (1)

marcus_schiffer
Active Participant
0 Kudos

Hi,

using e.g. the ARIMA package pmdarima.

When the training is dine it writes a lot of output that I would like to see as a stream.

Same is true for other packages with log output.

Regads

Marcus